Now we have separate file that keeps errors track for each domain individually and put's a log in to var/log/virtualmin/domainname.com_error_log. Is there also a possibility to duplicate an error log on the other file while keeping the main error log?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Wed, 04/03/2013 - 08:18 Comment #1
It sounds like you're asking if you can have two error logs for a domain.
Unfortunately, I don't believe that's possible -- Apache appears to only allow one error log per site.
Understood! There are some other options in logging under each site? how do you use it?
Submitted by andreychek on Wed, 04/03/2013 - 08:31 Comment #3
Hmm, which options did you have questions about?
For example:
Named log formats: Nickname Format
Submitted by andreychek on Wed, 04/03/2013 - 11:50 Comment #5
I wouldn't recommend changing that... however, for folks with unusual requirements, it's possible to change the format of the Apache access logs.
The options for that are available here in the Apache mod_log_config documentation:
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
However, I really would recommend against changing that, and doing so can break tools that calculate statistics and bandwidth usage based on the logs.
Thanks, Andrey!! ;)