# 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 argument to # spreadlogd BufferSize = 65536 Spread { # Use the spread daemon on excalibur listening on port 3502 Port = 3502 Host = excalibur 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 File = omniti.log } } Spread { Port = 3333 # Leave out the Host directive and spread will try to establish a connection # to the local spread daemon over a UNIX domain socket, which is faster. # Host = localhost # Log { # Group = "testing" # File = "combined_log" # This will make sure the every message logged with contain an IPv4 address. # Match = "^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" # } # Log { # Group = "fcibglobal" # This will share the file with the above log statement (one file descriptor) # File = combined_log # } # Log { # Group = apache-0003 # This directory will contain one file for each of the apache vitual servers # that gets hashed to '1' by mod_log_spread's $#vhost 'magic group'. # Across you cluster there should be one such statement for every integer # between 0 and VhostLoghashSize - 1. Be careful not to run out of open # file descriptors (i.e., if you have a 100,000 virtual hosts, you'll probably # run out of fd's on a single box.) # VhostDir = /vhostdata1 # } # Log { Group = "test" File = testlog } }