RutePoint wrote:
It's already there - just configure syslog-ng for it. But for the direction of the distro or whether you'll have YaST support for configuring syslog-ng, you're better off asking on the opensuse list.
how would it be done manually?
From some quick googling:
# pipe messages to /var/log/mysql.pipe to be processed by mysql source src {unix-stream("/dev/log"); pipe("/proc/kmsg"); internal();}; destination d_mysql { pipe("/var/log/mysql.pipe" template("INSERT INTO logs (host, facility, priority, level, tag, datetime, program, msg) VALUES ( '$HOST', '$FACILITY', '$PRIORITY', '$LEVEL', '$TAG', '$YEAR $MONTH-$DAY $HOUR:$MIN:$SEC', '$PROGRAM', '$MSG' );\n") template-escape(yes)); }; log { source(src); destination(d_mysql); }; http://gentoo-wiki.com/HOWTO_setup_PHP-Syslog-NG The man page doesn't mention much of the above, so either it's hopelessly out of date or SUSEs syslog-ng is due for an upgrade. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.