log: Add support for journal logging
This logging is available if the software was build with the configure option --with-systemd-journal. It will be enabled by default if libsystemd is found. The runtime parameter --log-journal enables to output of log messages to the systemd journal. Please note that the journal priority field has the same value as the syslog level so no conversion is required here.
This commit is contained in:

committed by
Aleksander Morgado

parent
13592c5d2d
commit
fd0bed1df9
@@ -51,6 +51,7 @@ gboolean mm_log_set_level (const char *level, GError **error);
|
||||
|
||||
gboolean mm_log_setup (const char *level,
|
||||
const char *log_file,
|
||||
gboolean log_journal,
|
||||
gboolean show_ts,
|
||||
gboolean rel_ts,
|
||||
GError **error);
|
||||
|
Reference in New Issue
Block a user