Hello,

My syslog-ng create log with ";" char. Did somebody know how to modify
the template to de-specialize this char?

destination d_postgres {
file("/spooldir/syslog2pgsql/fulllog.$YEAR.$MONTH.$DAY.$HOUR.$MIN.$SEC"
template("INSERT INTO syslog \(date, date_logged, host, message\) VALUES
\('$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC', NOW\(\), $FULLHOST',
'$MSG'\)\;\n")
}

I have ";" char in $MSG

Thanks for the help :)

Yves


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to