Remote logging for multiple Apache virtual hosts using syslog-ng
- by James
I'm running a couple Apache web servers that each have 4-8 separate virtual hosts on each of them. I'm trying to setup a dedicated log server that stores each virtual host access and errors logs in a separate directory for that virtual host.
For example on the logging server,
/var/log/remove/10.0.0.2/virtualhost1 contains access_log and error_log…