root/trunk/spreadlogd.conf

Revision 7, 1.8 kB (checked in by jesus, 13 years ago)

All of George's <george@lethargy.org> vhost additions.
New time rewriting so that timestamps are rewritten to reflect the time on the local machine running spreadlogd -- me.

  • 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
11 Spread {
12 # Use the spread daemon on excalibur listening on port 3502
13         Port = 3502
14         Host = excalibur
15         Log {
16 # Rewrite incoming log lines so that the timestamps will reflect the time
17 # on the local machine.  This will allow you web server to be slightly out
18 # sync with respect to time and still have monotonically time increasing logs
19                 RewriteTimestamp = CommonLogFormat
20                 Group = omniti
21                 File = omniti.log
22         }
23 }
24
25 Spread {
26         Port = 3333
27
28 # Leave out the Host directive and spread will try to establish a connection
29 # to the local spread daemon over a UNIX domain socket, which is faster.
30 #       Host = localhost
31
32 #       Log {
33 #               Group = "testing"
34 #               File = "combined_log"
35 # This will make sure the every message logged with contain an IPv4 address.
36 #               Match = "^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"
37 #       }
38
39 #       Log {
40 #               Group = "fcibglobal"
41 # This will share the file with the above log statement (one file descriptor)
42 #               File = combined_log
43 #       }
44
45 #       Log {
46 #               Group = apache-0003
47 # This directory will contain one file for each of the apache vitual servers
48 # that gets hashed to '1' by mod_log_spread's $#vhost 'magic group'. 
49 # Across you cluster there should be one such statement for every integer
50 # between 0 and VhostLoghashSize - 1.  Be careful not to run out of open
51 # file descriptors (i.e., if you have a 100,000 virtual hosts, you'll probably
52 # run out of fd's on a single box.)
53 #               VhostDir = /vhostdata1
54 #       }
55 #
56         Log {
57                 Group = "test"
58                 File = testlog
59         }
60 }
Note: See TracBrowser for help on using the browser.