]> mj.ucw.cz Git - libucw.git/commitdiff
Logging: Save the config file we use for testing of log-conf.c.
authorMartin Mares <mj@ucw.cz>
Sat, 21 Feb 2009 20:20:00 +0000 (21:20 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 21 Feb 2009 20:20:00 +0000 (21:20 +0100)
ucw/log-conf-test.cf [new file with mode: 0644]

diff --git a/ucw/log-conf-test.cf b/ucw/log-conf-test.cf
new file mode 100644 (file)
index 0000000..3ceaaf3
--- /dev/null
@@ -0,0 +1,34 @@
+Include cf/libucw
+
+Logging {
+
+Stream {
+       Name            logfile
+       FileName        log/test
+       Limit { Rate 100 }
+}
+
+Stream {
+       Name            logfile2
+       FileName        log/test2
+       Microseconds    1
+       Levels:reset    info warn error
+       Types:reset     default foo
+       ErrorsFatal     1
+       ShowTypes       1
+}
+
+Stream {
+       Name            syslog
+       SyslogFacility  user
+       SyslogPID       1
+}
+
+Stream {
+       Name            combined
+       Substream       logfile
+       Substream       logfile2
+       Substream       syslog
+}
+
+}