You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roman Slezak <sk...@hysteria.sk> on 2005/01/25 09:44:06 UTC

[users@httpd] watching apache on the fly

Hi,

 I need to watch what is my server sending to client. Is it posible? To /some/dir/this_is_realtime_httpd_sending_body_for_all_clients.txt (.log)

or ? :D


Roman S.

Re: [users@httpd] watching apache on the fly

Posted by dan <in...@hostinthebox.net>.
Joshua Slive wrote:
> On Tue, 25 Jan 2005 09:44:06 +0100, Roman Slezak <sk...@hysteria.sk> wrote:
> 
>> 
>> 
>>Hi, 
>>  
>> I need to watch what is my server sending to client. Is it posible? To
>>/some/dir/this_is_realtime_httpd_sending_body_for_all_clients.txt (.log) 
> 
> 
> This would be best accomplished with any-old network sniffer (tcpdump,
> for example).
> 
> But you could also rig up something with mod_ext_filter to do the job.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

If you just need to do this for a while, you can 'tail -f mylog.log'. 
That'll scroll the log in realtime.  I would not recommend this in a 
script or anything like this, as this can potentially be a whole lot of 
data.

Thanks
-dant

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] watching apache on the fly

Posted by Joshua Slive <js...@gmail.com>.
On Tue, 25 Jan 2005 09:44:06 +0100, Roman Slezak <sk...@hysteria.sk> wrote:
>  
>  
> Hi, 
>   
>  I need to watch what is my server sending to client. Is it posible? To
> /some/dir/this_is_realtime_httpd_sending_body_for_all_clients.txt (.log) 

This would be best accomplished with any-old network sniffer (tcpdump,
for example).

But you could also rig up something with mod_ext_filter to do the job.

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org