-s does not work

Started by Paul Gasparabout 15 years ago3 messagesgeneral
Jump to latest
#1Paul Gaspar
devlist@revolversoft.com

Hi all,

I want to get rid of all those messages like "database system is ready to accept connections" in the log file. -s is the appropiate command in pg_ctl, I thought, but I still get those messages.

This is the command line to start pg:

/.../pg_ctl start -s -U ... -l /.../Log.txt -o "-p 1234" -D /.../Database

Is there something wrong?

Thanks a lot for your help.

Paul

#2Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Paul Gaspar (#1)
Re: -s does not work

On 03/30/2011 09:02 AM, Paul Gaspar wrote:

Hi all,

I want to get rid of all those messages like "database system is ready to accept connections" in the log file. -s is the appropiate command in pg_ctl, I thought, but I still get those messages.

This is the command line to start pg:

/.../pg_ctl start -s -U ... -l /.../Log.txt -o "-p 1234" -D /.../Database

Is there something wrong?

I believe this only suppresses messages output to the screen. To control
the log messages take a look at:

http://www.postgresql.org/docs/9.0/interactive/runtime-config-logging.html

Thanks a lot for your help.

Paul

--
Adrian Klaver
adrian.klaver@gmail.com

#3Guillaume Lelarge
guillaume@lelarge.info
In reply to: Paul Gaspar (#1)
Re: -s does not work

Le 30/03/2011 18:02, Paul Gaspar a �crit :

[...]
I want to get rid of all those messages like "database system is ready to accept connections" in the log file. -s is the appropiate command in pg_ctl, I thought, but I still get those messages.

This is the command line to start pg:

/.../pg_ctl start -s -U ... -l /.../Log.txt -o "-p 1234" -D /.../Database

Is there something wrong?

-s allows the user to control the verbosity of pg_ctl, not the one of
the PostgreSQL server.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com