]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd/sd-bus/test-bus-chat.c
tests: use a helper function to parse environment and open logging
[thirdparty/systemd.git] / src / libsystemd / sd-bus / test-bus-chat.c
index 28922e6a699eb7ebc3fe387ef1bc27c4d2d372c7..2ba6eaee7d17871deccad944dfb95a13289fabdf 100644 (file)
@@ -510,6 +510,8 @@ int main(int argc, char *argv[]) {
         void *p;
         int q, r;
 
+        test_setup_logging(LOG_INFO);
+
         r = server_init(&bus);
         if (r < 0)
                 return log_tests_skipped("Failed to connect to bus");