summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-10 17:40:18 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-10 18:00:28 +0200
commit1adf1049dc9def8d8df405bab7f5ae08e1e9573d (patch)
tree82fefcd7def06b90b607e43742fe6645463783a9 /log.c
parentb9f49ee478fdc06c45092f208f1dddd23680ab13 (diff)
dbus: add a couple of properties to the dbus manager interface
Diffstat (limited to 'log.c')
-rw-r--r--log.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/log.c b/log.c
index 497433a8b0..b82018f28b 100644
--- a/log.c
+++ b/log.c
@@ -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",