logging: rework a bit, maybe support syslog
Seems journal logging fails on NetBSD (no surprise), but has some unwanted/not-fully-understood side-effects. In any case, outside Linux there's no use in even trying to use journald; so we don't do that anymore. Add conditional support for syslog (requires glib 2.80).
This commit is contained in:
@ -50,7 +50,7 @@ test('test-logger',
|
||||
executable('test-logger', '../mu-logger.cc',
|
||||
install: false,
|
||||
cpp_args: ['-DBUILD_TESTS'],
|
||||
dependencies: [glib_dep, lib_mu_utils_dep, thread_dep ]))
|
||||
dependencies: [glib_dep, lib_mu_utils_dep,config_h_dep,thread_dep ]))
|
||||
|
||||
test('test-option',
|
||||
executable('test-option', '../mu-option.cc',
|
||||
|
||||
Reference in New Issue
Block a user