-s does not work
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
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
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