From: Martin Mares Date: Sat, 21 Feb 2009 20:20:00 +0000 (+0100) Subject: Logging: Save the config file we use for testing of log-conf.c. X-Git-Tag: holmes-import~39 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=733c3bc975fecd22ce00c4e6078642115bdf09a8;p=libucw.git Logging: Save the config file we use for testing of log-conf.c. --- diff --git a/ucw/log-conf-test.cf b/ucw/log-conf-test.cf new file mode 100644 index 00000000..3ceaaf34 --- /dev/null +++ b/ucw/log-conf-test.cf @@ -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 +} + +}