Thread: STDERR vs. SYSLOG logging

STDERR vs. SYSLOG logging

From
Kevin Kempter
Date:
Hi List;

Anyone have any thoughts per which logging method (SYSLOG vs STDERR) is the
better approach ?

Thanks in advance...

Re: STDERR vs. SYSLOG logging

From
Jeff Davis
Date:
On Tue, 2007-05-01 at 09:12 -0600, Kevin Kempter wrote:
> Hi List;
>
> Anyone have any thoughts per which logging method (SYSLOG vs STDERR) is the
> better approach ?
>

One isn't better or worse than the other. Where are you able to see the
logs more easily? STDERR can be redirected to log files via
postgresql.conf, and rotated. If you'd rather use what syslog has to
offer, use that.

Regards,
    Jeff Davis



Re: STDERR vs. SYSLOG logging

From
David Fetter
Date:
On Tue, May 01, 2007 at 09:12:41AM -0600, Kevin Kempter wrote:
> Hi List;
>
> Anyone have any thoughts per which logging method (SYSLOG vs STDERR)
> is the better approach ?
>
> Thanks in advance...

I prefer syslog because those logs are better suited for processing by
pgfouine and tools like it :)

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate

Re: STDERR vs. SYSLOG logging

From
"Andrej Ricnik-Bay"
Date:
On 5/2/07, David Fetter <david@fetter.org> wrote:
> I prefer syslog because those logs are better suited for processing by
> pgfouine and tools like it :)
I prefer syslog-ng because I can send the logs of to a
central log-host using tcp ... :)


Cheers,
Andrej