Re: How to collect host specif error log and how to see those from web interface ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/08/2010 09:45 AM, Jeremy R. wrote:
>>> [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 thanks for your response.

Actually I am interested to break the error log too with vlogger. But it
seems there is no option to do that. Regarding error log contents, I do
have shell access, but it would be nice to provide a web interface so
that the developer can see the errors at least.

-- 

জয়দীপ বক্সী


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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux