From bb2a464067c6843320f367b590b0e4cb00225e50 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 10 Dec 2008 14:17:02 -0500 Subject: Add syslog of security denials and configuration file reloads We need to start logging denials so that they become more easily trackable and debuggable. --- bus/config-parser-common.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bus/config-parser-common.c') diff --git a/bus/config-parser-common.c b/bus/config-parser-common.c index a12642c4..4965c192 100644 --- a/bus/config-parser-common.c +++ b/bus/config-parser-common.c @@ -118,6 +118,10 @@ bus_config_parser_element_name_to_type (const char *name) { return ELEMENT_KEEP_UMASK; } + else if (strcmp (name, "syslog") == 0) + { + return ELEMENT_SYSLOG; + } else if (strcmp (name, "allow_anonymous") == 0) { return ELEMENT_ALLOW_ANONYMOUS; @@ -172,6 +176,8 @@ bus_config_parser_element_type_to_name (ElementType type) return "associate"; case ELEMENT_KEEP_UMASK: return "keep_umask"; + case ELEMENT_SYSLOG: + return "syslog"; case ELEMENT_ALLOW_ANONYMOUS: return "allow_anonymous"; } -- cgit