diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-10 17:40:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-10 18:00:28 +0200 |
commit | 1adf1049dc9def8d8df405bab7f5ae08e1e9573d (patch) | |
tree | 82fefcd7def06b90b607e43742fe6645463783a9 /log.c | |
parent | b9f49ee478fdc06c45092f208f1dddd23680ab13 (diff) |
dbus: add a couple of properties to the dbus manager interface
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -313,6 +313,14 @@ void log_parse_environment(void) { log_warning("Failed to parse log level %s. Ignoring.", e); } +LogTarget log_get_target(void) { + return log_target; +} + +int log_get_max_level(void) { + return log_max_level; +} + static const char *const log_target_table[] = { [LOG_TARGET_CONSOLE] = "console", [LOG_TARGET_SYSLOG] = "syslog", |