Thread: logs

logs

From
Marcin Inkielman
Date:
hi!

sorry for my stupid question...
is it possible to view logs of postmaster?

i remarked a file named pg_log - what is it for?

************************************

    Marcin Inkielman

************************************

               .~.
               /V\
              // \\
             /(   )\
              ^`~'^

         powered by Linux
               ----

    sibi omino similis?
************************************





Re: [GENERAL] logs

From
Ed Loehr
Date:
Marcin Inkielman wrote:

> hi!
>
> sorry for my stupid question...
> is it possible to view logs of postmaster?

The pole:
    http://www.postgresql.org/docs/postgres/postmaster.htm
    http://www.postgresql.org/docs/postgres/pg-options.htm
    http://www.deja.com

The fish:
    % echo 'query' >> $PGDATA/pg_options
    % killall postmaster
    % postmaster >> pgserver.log &
    % tail -f pgserver.log


Cheers,
Ed Loehr