-s does not work

Поиск
Список
Период
Сортировка
Искать

-s does not work

От:
Paul 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

Re: -s does not work

От:
Adrian Klaver <adrian.klaver@gmail.com>
Дата:
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

Re: -s does not work

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
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
FAQ