-
Notifications
You must be signed in to change notification settings - Fork 1
/
spreadlogd.conf
executable file
·34 lines (30 loc) · 992 Bytes
/
spreadlogd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This is a sample spreadlogd.conf file
# This will set the size of the preallocated buffer into which message
# are written (from spread). All messages larger than this are dropped.
# The default is 8192, but can be specified here as follows, but both
# can be overridden from the command line with a -b <size> argument to
# spreadlogd
BufferSize = 65536
ModuleDir = /tmp
LoadModule foo bar
PerlLib .
PerlUse mylogger
Spread {
# Use the spread daemon on excalibur listening on port 3502
Port = [email protected]
Log {
# Rewrite incoming log lines so that the timestamps will reflect the time
# on the local machine. This will allow you web server to be slightly out
# sync with respect to time and still have monotonically time increasing logs
RewriteTimestamp = CommonLogFormat
Group = omniti
PerlLog mylogger::log
File = omniti.log
}
Log {
RewriteTimestamp = CommonLogFormat
Group = taub-12
File = /tmp/foo
ModuleLog foo
}
}