logging twice

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-22-2006
Matt
 
Posts: n/a
Default logging twice

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
  #2 (permalink)  
Old 11-22-2006
Matt
 
Posts: n/a
Default Re: logging twice

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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0