This is a discussion on logging twice within the Apache Web Server forums, part of the Web Server and Related Forums category; I would like to log traffic going to apache twice. Once to the user and the 2nd to a global ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I would like to log traffic going to apache twice.
Once to the user and the 2nd to a global log file so i can see aggregate traffic. Does anybody have any ideas? I don't want to have to manually cat files together. I know it may be a slight performance hit, but I'm willing to absorb that. Thanks for your time and knowledge, Matias |
|
|||
|
Davide Bianchi wrote:
> On 2006-11-22, Matt <"No Email"> wrote: >> I would like to log traffic going to apache twice. >> Once to the user and the 2nd to a global log file > > Isn't clear what you mean by 'the user', besides, most web analyzer can > process multiple files to have the aggregate traffic without the need > for a single log file. From what you say it seems that you > want to distinguish between different virtual hosts but also to have one > single gigantic log file with all the vhost at once. The only thing I can > think of is to pipe the logging into a simple script that write the > infos twice, once on a single-vhost file and then into the 'merged' one. > > Davide > Exactly, that is what I meant by 'the user' is a vhost. Thanks for your suggestion. I'll have to look into a piping solution. Thanks Davide. Matias. |