|
Home > Archive > Apache Server configuration support > November 2006 > logging twice
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| 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 2006-11-22, 1:40 am |
| 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
--
Bugs come in through open Windows.
| |
|
| Davide Bianchi wrote:
> On 2006-11-22, Matt <"No Email"> wrote:
>
> 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.
|
|
|
|
|