[GENERAL] server log files

2008-06-30 Thread EBIHARA, Yuichiro
Hi Experts, I'm using PostgreSQL 8.3.3 and have a question about log files that PostgreSQL generates. There are two ways to specify the log file path 1)pg_ctl start -l filename http://www.postgresql.org/docs/8.3/interactive/app-pg-ctl.html 2)server configuration (postgresql.conf)

Re: [GENERAL] server log files

2008-06-30 Thread Tom Lane
EBIHARA, Yuichiro [EMAIL PROTECTED] writes: I'm now considering the following settings in postgresql.conf. log_destinatio = stderr logging_collector = on log_directory = 'pg_log' log_filename = 'postgresql-%Y-%m-%d.log' log_rotation_age = 1d log_truncate_on_rotation = off I just wonder

Re: [GENERAL] server log files

2008-06-30 Thread EBIHARA, Yuichiro
Tom, Thanks a lot! 2008/7/1 Tom Lane [EMAIL PROTECTED]: $pg_ctl start /dev/null If the postmaster fails to start, you won't know why. That's enough reason for me to continue using 'pg_ctl start -l'. ebi -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes