On Fri, Feb 08, 2002 at 02:28:04AM -0800, Jeff Davis wrote:
> Edit /etc/postgresql/postgresql.conf and set syslog = 0
> if syslog = 2 then it goes to syslog (I believe that's the default for debian)
> if syslog = 1 then I think it goes to both syslog and stdout
> if syslog = 0 it doesn't go into syslog at all, only stdout
>
> Then make sure that pg_ctl is passed the "-l" option (that's a lowercase L)
> so that it sends the stdout to the correct file. I added:
> POSTGRES_LOG=/var/log/postgres.log
> to /usr/lib/postgresql/bin/postgresql-startup. It certainly seems as though
> there should be an easier way, doesn't it? Maybe there is a better way to
> pass it as an environment variable. Anyway, I guess that isn't too bad. It
> gets the output in the right file. I hope they make it cleaner for the 7.2
> packages.
Thanks a lot it works fine now!
--
THESEE: Mais l'ingrat toutefois ne m'est point échappé.
Une immortelle main de sa perte est chargée.
(Phèdre, J-B Racine, acte 4, scène 4)