[syslog-ng] plz help

dreamywoman dreamywoman at gmail.com
Tue Jun 2 09:17:22 CEST 2009


Hi All
last week i have installed php-syslog-ng-2.5.1 and it works and i can see
all logs in my web but after week i have decided to change the version of
php-syslog-ng to php-syslog-ng-2.9.8j.tgz but after web installation i
decided to change the perivious version (php-syslog-ng-2.5.1 ) after that i
have problems i can get logs in other file like /var/log/catchall but i cant
get anything in my php-syslog-ng in my web
i use tcpdump i can get logs but i cant see anything in my web
what should i do?
source s_remote {
unix-stream("/dev/log"); internal(); udp();
};

destination d_mysql { pipe("/tmp/mysql.pipe " template("INSERT INTO logs
(host, facility,
priority, level, tag, date, time, program, msg) VALUES ('$HOST',
'$FACILITY', '$PRIORITY', '$LEVEL', '$TAG', '$YEAR-$MONTH-$DAY',
'$HOUR:$MIN:$SEC', '$PROGRAM', '$MSG' );\n") template-escape(yes)); };

log { source(s_remote); destination(d_mysql); };

what is my problem in installation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090602/a99f4b5a/attachment.htm 


More information about the syslog-ng mailing list