[Opendnssec-develop] syslog configuration

Jakob Schlyter jakob at kirei.se
Wed Jun 3 20:49:46 UTC 2009


after reading some code I believe we need to add a logging  
configuration option to conf.xml, so we at least can specify what  
facility to use.
or, if we want to take the easy route at this point, this could be  
specified on the command line (but I rather not).

	jakob


Index: conf.xml
===================================================================
--- conf.xml	(revision 923)
+++ conf.xml	(working copy)
@@ -19,6 +19,12 @@
  		</Repository>
  	</RepositoryList>

+	<Logging>
+		<Syslog>
+			<Facility>local0</Facility>
+		</Syslog>
+	</Logging>
+
  	<Enforcer>
  		<Datastore><SQlite>/var/opendnssec/kasp.db</SQlite></Datastore>
  		<Interval>PT3600S</Interval>
Index: conf.rnc
===================================================================
--- conf.rnc	(revision 923)
+++ conf.rnc	(working copy)
@@ -24,6 +24,13 @@
  		}*
  	},

+	# Configuration parameters for logging
+	element Logging {
+		element Syslog {
+				element Facility { xsd:string }
+		}
+	}?,
+
  	# Configuration parameters for the KASP Enforcer
  	element Enforcer {
  		# Where to store internal Enforcer state





More information about the Opendnssec-develop mailing list