Thu, Dec 22, 2005 ve 01:26:20PM -0500, Pierre Ancelot napsal:
> Hey everyone :)
>
> I am wondering how i could get awstats to check my logs on my cluster.
> I use an LVS-NAT and so, each server's log is stored on it's own disk.
> So i got one virtual server but a lot of different log files...
> Any idea how i could implement this ?
Well, i was realizing something like month ago...
In apache configuration file on each application server i have this line:
CustomLog "|/usr/bin/logger -t cluster_access_log" combined env=!dontlog
and then on log server i have syslog-ng installed, where are these
configuration lines:
destination d_cluster_access_log { file("/var/log/httpd/all_clusters_log"); };
filter f_cluster_access_log { match("cluster_access_log"); };
source s_net { udp(); };
log { source(s_net); filter(f_cluster_access_log);
destination(d_cluster_access_log); };
awstats is very good idea, i use it too :)
>
> Thanks :)
>
> Happy Holidays !!
you too :)
Tomyk
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|