chiark / gitweb /
Import release 0.1.5
[secnet.git] / example.conf
index 0d7a546684df550603f4bcca17624aae7c4aff48..03e5f436bde0db63538dc81b782a04b2b962b008 100644 (file)
@@ -1,7 +1,21 @@
 # secnet example configuration file
 
 # Log facility
 # secnet example configuration file
 
 # Log facility
-log logfile("secnet","local2"); # Not yet implemented, goes to stderr
+log syslog {
+       ident "secnet";
+       facility "local0";
+};
+
+# Alternatively you could log to a file:
+# log logfile {
+#      filename "/var/log/secnet";
+#      class "info","notice","warning","error","security","fatal";
+#      # There are some useful message classes that could replace
+#      # this list:
+#      #  'default' -> warning,error,security,fatal
+#      #  'verbose' -> info,notice,default
+#      #  'quiet'   -> fatal
+# };
 
 # Systemwide configuration (all other configuration is per-site):
 # log          a log facility for program messages
 
 # Systemwide configuration (all other configuration is per-site):
 # log          a log facility for program messages