httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy R." <jer...@novawave.net>
Subject Re: [users@httpd] How to collect host specif error log and how to see those from web interface ?
Date Mon, 08 Feb 2010 04:15:46 GMT
>> [1] how can I break the error log as per vhost ?
>> 
>> Is it something like
>> 
>> <my vhost>
>> 
>> [...]
>> ErrorLog /srv/www/htdocs/myvhost_dir/error.log
>> LogLevel error
>> [...]
>> 
>> </my vhost>

Yes, it's exactly that. Just use the ErrorLog directive within your vhost. (P.S. Putting your
error log inside your DocumentRoot is probably not a good idea as you generally don't want
that to be visible to the world. At the very least, configure it not to be accessible using
"Deny from all" or similar.

>> 
>> [2] Is there any web based tool which can show the error logs in real
>> time ? any chance by awstats ?

I'm not aware of one off the top of my head, but if you have shell access, this will do it:

tail -f /path/to/error.log

-- 
Jeremy R.
Owner, NovaWave Solutions
http://www.novawave.net/


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


Mime
View raw message