root/trunk/spreadlogd.conf

Revision 38, 1.0 kB (checked in by jesus, 8 years ago)

use libevent and support C modules

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # This is a sample spreadlogd.conf file
2
3 # This will set the size of the preallocated buffer into which message
4 # are written (from spread).  All messages larger than this are dropped.
5 # The default is 8192, but can be specified here as follows, but both
6 # can be overridden from the command line with a -b <size> argument to
7 # spreadlogd
8
9 BufferSize = 65536
10 ModuleDir = /tmp
11 LoadModule foo bar
12
13 PerlLib .
14 PerlUse mylogger
15
16 Spread {
17 # Use the spread daemon on excalibur listening on port 3502
18         Port = 4913@gollum.int.omniti.net
19         Log {
20 # Rewrite incoming log lines so that the timestamps will reflect the time
21 # on the local machine.  This will allow you web server to be slightly out
22 # sync with respect to time and still have monotonically time increasing logs
23                 RewriteTimestamp = CommonLogFormat
24                 Group = omniti
25                 PerlLog mylogger::log
26                 File = omniti.log
27         }
28         Log {
29                 RewriteTimestamp = CommonLogFormat
30                 Group = taub-12
31                 File = /tmp/foo
32                 ModuleLog foo
33         }
34 }
Note: See TracBrowser for help on using the browser.