location of postmaster.log on V8 Win 32

Started by A. Mousover 21 years ago3 messagesgeneral
Jump to latest
#1A. Mous
a.mous@shaw.ca

Hi,

In my postgresql.conf file I've got

log_destination = 'stderr'

Should this option not create a postmaster.log file somewhere on my system
(it's nowhere to be found)? Apologies in advance if I'm just being stupid.

Thanks
Peter

#2Doug McNaught
doug@mcnaught.org
In reply to: A. Mous (#1)
Re: location of postmaster.log on V8 Win 32

"Anony Mous" <A.Mous@shaw.ca> writes:

Hi,

In my postgresql.conf file I've got

log_destination = 'stderr'

Should this option not create a postmaster.log file somewhere on my system
(it's nowhere to be found)? Apologies in advance if I'm just being stupid.

Depends on where the start script sends the stderr of the postmaster
process (or the -l option to 'pg_ctl start'). Some systems send it to
/dev/null by default.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Doug McNaught (#2)
Re: location of postmaster.log on V8 Win 32

Doug McNaught <doug@mcnaught.org> writes:

"Anony Mous" <A.Mous@shaw.ca> writes:

Should this option not create a postmaster.log file somewhere on my system
(it's nowhere to be found)? Apologies in advance if I'm just being stupid.

Depends on where the start script sends the stderr of the postmaster
process (or the -l option to 'pg_ctl start'). Some systems send it to
/dev/null by default.

But in 8.0, see also 'redirect_stderr' and the associated options.

regards, tom lane