louiz’
7c8a7176d1
Only use sd_journal_* if we really are outputing to journald
...
We check that the device and inode numbers are actually the same as the
JOURNAL_STREAM value, instead of just checking that the value exists.
This fixes the logger unit tests
2018-01-12 04:03:36 +01:00
louiz’
e217a19784
Fix the build without systemd, by adding a few define
2017-09-09 17:21:51 +02:00
louiz’
8d99374f1f
When biboumi is logging into journald, use sd_journal_send
...
This makes sure that multi-lines messages are properly parsed as a single
message by journald.
fix #3268
2017-09-06 21:30:44 +02:00
louiz’
0ab40dc1ab
Refactoring louloulibs and cmake
...
Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
2017-03-14 21:45:23 +01:00
Florent Le Coz
d600a2843f
Remove all the libs that are now in louloulibs
2015-02-27 12:26:48 +01:00
Florent Le Coz
53e6b1da69
Fix the systemd-conditional code
...
By using SYSTEMD_FOUND instead of SYSTEMDDAEMON_FOUND, where I forgot to
rename it…
2015-02-26 02:56:46 +01:00
Florent Le Coz
0038e15b5a
Properly display [DEBUG] on debug lines, instead of [ERROR]
2015-02-21 05:43:20 +01:00
Florent Le Coz
01c1ea14f7
Use systemd-daemon logging prefix if available
2014-06-30 01:04:03 +02:00
Florent Le Coz
2662ed89e2
Add a logger class
2013-12-03 19:15:37 +01:00