diff options
author | louiz’ <louiz@louiz.org> | 2017-09-06 21:30:44 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-09-06 21:30:44 +0200 |
commit | 8d99374f1f02a4d229b49f6697247eb1e1f4f940 (patch) | |
tree | 77def9e9e192963aa4c70f48a8ea97861c62f08b /tests | |
parent | dabc48b79b6189c99c246ae01af27fa170fd86a3 (diff) | |
download | biboumi-8d99374f1f02a4d229b49f6697247eb1e1f4f940.tar.gz biboumi-8d99374f1f02a4d229b49f6697247eb1e1f4f940.tar.bz2 biboumi-8d99374f1f02a4d229b49f6697247eb1e1f4f940.tar.xz biboumi-8d99374f1f02a4d229b49f6697247eb1e1f4f940.zip |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/logger.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/logger.cpp b/tests/logger.cpp index 1d59a22..1e3392a 100644 --- a/tests/logger.cpp +++ b/tests/logger.cpp @@ -10,13 +10,8 @@ using namespace std::string_literals; TEST_CASE("Basic logging") { -#ifdef SYSTEMD_FOUND - const std::string debug_header = "<7>"; - const std::string error_header = "<3>"; -#else const std::string debug_header = "[DEBUG]: "; const std::string error_header = "[ERROR]: "; -#endif Logger::instance().reset(); GIVEN("A logger with log_level 0") { |