Re: Using syslog on pg for Windows

From: "Jeff Larsen" <jlar310(at)gmail(dot)com>
To: "PgSQL General ML" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using syslog on pg for Windows
Date: 2008-01-04 15:22:30
Message-ID: d1f9b6f00801040722p575a96aay270ac0be26143244@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Jan 4, 2008 8:33 AM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> On Wed, Jan 02, 2008 at 11:17:52PM -0800, Goboxe wrote:
> > Hi,
> >
> > What are required to be configured in order to send logs to
> > remote syslog server for pg running on Windows platform?
> >
> > In http://pgfouine.projects.postgresql.org/tutorial.html , it says
> > "You can set syslog to send the log to another server through the
> > network with @ip.ad.dr.ess."
> >
> > So try to update postgresql.conf
> >
> > syslog_facility = 'x.x.x.x'
> >
> > or
> >
> > syslog_facility = '@x.x.x.x'
> >
> > But it still does not work.
> >
> > Any tips?
>
> PostgreSQL on Win32 doesn't support syslog logging. You'll have to log to a
> file and have an outside tool transfer that file to where youn eed it.

PostgreSQL does, however, support logging to Windows Event Log. From
there you could implement software to ship Event Log to remote syslog.

--
Jeff

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-01-04 15:52:22 Re: Mandatory AS keyword in SELECT statements
Previous Message Joshua D. Drake 2008-01-04 15:17:39 Re: TCL