From 733c3bc975fecd22ce00c4e6078642115bdf09a8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 21 Feb 2009 21:20:00 +0100 Subject: [PATCH] Logging: Save the config file we use for testing of log-conf.c. --- ucw/log-conf-test.cf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 ucw/log-conf-test.cf 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 +} + +} -- 2.39.2