[syslog-ng] Log to postgres

Pal Tamas folti at balabit.hu
Thu Oct 9 18:00:31 CEST 2008


On Mon, Oct 06, 2008 at 05:47:08PM -0400, Shlayen, Yakov (CAT) wrote:
> I've have situation that syslog-ng doesn't start and all time in
> maintenance mode (run Solaris 10)
> Attached output from console and another commands.
> Please, help me find error and fixed it. I've run OSE syslog-ng2.1.1.
Looks like something is wrong with the method script. Could you please
run it in debug mode and send us the output?

You could either run it from command line with sh -x as an interpreter
or add the following lines after the end of the comment section to dump
it into a file:

exec 4>&2 2>&4
exec 2>/tmp/syslog-ng.method.dump.$$
set -x

This will dumps the output into /tmp/syslog-ng.method.dump.<pid>
file(s).

Thanks in advance,
-- 
Tamas Pal 
folti at balabit.hu



More information about the syslog-ng mailing list