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

Search Discussions

  • Adrian Klaver at Mar 30, 2011 at 4:41 pm

    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
  • Guillaume Lelarge at Mar 30, 2011 at 4:46 pm

    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-general @
categoriespostgresql
postedMar 30, '11 at 4:25p
activeMar 30, '11 at 4:46p
posts3
users3
websitepostgresql.org
irc#postgresql

People

Translate

site design / logo © 2022 Grokbase