cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple streams



I was wondering what would be the preferred method of using cronolog
where one uses multiple virtual hosts that use the same log file
Currently I use:
<VirtualHost ...1>
...
 CustomLog "|/usr/local/sbin/cronolog
--symlink=/var/log/httpd-access-edie.log
/home/var/logs/edie/%Y.%m.access.log" combined
...
</VirtualHost>
<VirtualHost ...2>
...
 CustomLog "|/usr/local/sbin/cronolog
--symlink=/var/log/httpd-access-edie.log
/home/var/logs/edie/%Y.%m.access.log" combined
...
</VirtualHost>
However, since I'm using a symlink would it not be preferred for all but
the first stream to use:
<VirtualHost ...2>
...
 CustomLog httpd-access-edie.log combined
...
</VirtualHost>
Cheers,
Paul
begin:vcard 
n:Wolstenholme;Paul
x-mozilla-html:FALSE
org:SMA Webware
adr:;;;;;;
version:2.1
email;internet:paul@xxxxxxxxx
note;quoted-printable:-----BEGIN PGP PUBLIC KEY BLOCK-----=0D=0AVersion: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>=0D=0A=0D=0AmQENAziGD+8AAAEIAN/sBjsAb6WDbV/qluL84+8WEFeKeaNJz6tn7Apv9r2AQDij=0D=0ANGzTtI+LEa/9xjldoBVMU1xJ3/PIldVRYEV+DFuk9QSy9NXZIVMHJ4QtpgKtHA3I=0D=0ArW14kJFnQVxKZtotdqPKIEA6p5MwU0tomsclW7f6KM8OorTi50JiFAj9ChHZFEFg=0D=0AAouW5EcmpGbsEeFXaoGc966YIFJAVQdeiVodyx9N89X0nMFnI9pFeAWB5ZBvCQtv=0D=0Aa4kG6em8AhmFt0A07+GibkCEv0Skh4rFVXQtmnK1mqbvcI3Il1VZ/8U4YLPjXs/m=0D=0AfFbFwKs1ONUrMTcUaNUTwLupq8N4qYnNswx35BMABRG0I1BhdWwgV29sc3Rlbmhv=0D=0AbG1lIDx3b2xzdGVuYUBzZnUuY2E+iQEVAwUQOIYP76mJzbMMd+QTAQGEsQf9Ereu=0D=0A6o6AVeKYE9jQPvYzLZUHLObpVyDhYT2RTiXaX9MroSWwxIFuINy92AGiDshqYufY=0D=0AACZH5yRJgyBhKLgMkl48Sr0bfsu7P20Uch2F0JCYz6UhS6tV/LS+3eueh55a03Mm=0D=0AScE4HitUVLJTyddaSQZAS2yL0lrylLUWfja3tt/bV1J+pHcQa+WHfX5ZEsGhIE/E=0D=0Ahm6eGYrOjfaFRmIyOcCVZh0umjRYu2GguKIiFGNPb81CV7mzkdNXWpiuSkRlXhv+=0D=0A0yeq1e9Bxg9xRITgvDqH+zbrgiChIcjjX0raKHadlNclOMrELgJjWHc+1iuo845S=0D=0AUBCIEjVYoiAT7TopJA=3D=3D=0D=0A=3Dd
DP=0D=0A-----END PGP PUBLIC KEY BLOCK-----
x-mozilla-cpt:;-19136
fn:Paul Wolstenholme
end:vcard

Copyright © 1996-2010 Andrew Ford and Ford & Mason Ltd