> -----Original Message----- > From: Pavel Stratil [mailto:pavel.stratil-jun@xxxxxxxx] > Sent: Wednesday, July 19, 2006 12:24 AM > To: users@xxxxxxxxxxxxxxxx > Subject: [users@httpd] Sharing log files > > Hi all! > > suppose I would be running two HTTPDs on one machine, each > listening on > a different port of the same IP, one serving static and one dynamic > content. I guess you mean two instances of apache (two config files, two "apachectl start" commands)? Simpler would be two port-based virtualhosts in a single instance of apache. > Is it possible to let them share log files or would > they fight? That's a bit OS-dependent - on unix two process can write to the same filehandle providing the file-locking is taken care of (I assume in apache it is). > If log sharing isn't possible, is there a way to merge logs > easily for > statistical analysis? A simple perl script, or any one of a number of log analyzers (see Google). Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > TIA, Pavel > ps: thanks to Joshua for the tips! > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx