Author Login
Post Reply
>> [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@(protected)
" from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)