Quote:
Originally Posted by chitambira
mmm.... let me see relevant sections of both your syslog-ng.conf and apache.conf
|
for syslog
Code:
.
.
.
local1.* @192.168.1.66
.
.
.
note that when it was
local0,local1.* -/var/log/localmessages
it was working
each time i restart apache i see some worning
tail -f /var/log/localmessages
2) concerning mod_log_config.conf
at the end i added
Code:
ErrorLog syslog:local1
remember my syslog server deals with external log like this
Code:
.
.
.
udp(port(514));
.
.
.
destination std {
file ("/var/log/HOSTS/$YEAR-$MONTH/$HOST/$FACILITY-$YEAR-$MONTH-$DAY"
owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)
);
};
log {
source(src);
destination(std);
};
i don't if it is working i should see somthing here
tail -f /var/log/HOSTS/date/name_of_the_host/facility/
if i am looking in the wrong place please tell me