Skip site navigation (1) Skip section navigation (2)

Re:[GENERAL] Problem with postgres log file

From: "Natalya S(dot) Makushina" <mak(at)rtsoft(dot)msk(dot)ru>
To: "'Jens Felber'" <jfe(at)gek-online(dot)de>, "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org>
Subject: Re:[GENERAL] Problem with postgres log file
Date: 1999-08-27 07:44:21
Message-ID: 01BEF081.81432020@makushina.rtsoft.msk.ru (view raw or flat)
Thread:
Lists: pgsql-general
Hello!

I start postmaster with this options
/usr/local/pgsql/bin/postmaster -i -D/usr/local/pgsql >>/usr/local/pgsql/postgres.log 2>&1 &

I tried to start postmaster
postmaster  -o "-F -o /var/log/postgres.log"

Unfortunaly I haven't seen any differents between log files.


>From :		Jens Felber [SMTP:jfe(at)gek-online(dot)de]
Date :	27 августа 1999 г. 10:51
To :		Natalya S. Makushina; pgsql-general(at)postgreSQL(dot)org
Subject :		Re: [GENERAL] Problem with postgres log file

At 09:33 27.08.99 +0400, Natalya S. Makushina wrote:
>Hello all!
>
>How can i make line in log file like this?
>#timestamp 	        #pid 	#message
>980127.17:52:14.173 [29271] StartTransactionCommand
>
>I have read in documentation about file pg_options. 
>But I have got only these lines in the log file:
>
>ProcessQuery
>CommitTransactionCommand
>StartTransactionCommand
 

Hi ,

how do you start Postgres 

I start it with the following options and can see more in my logfile:

--> postmaster -i -s -o "-F -o /var/log/posrgres.log" $

the parameters in "" are opteion of the backend. 
-o /../../ tells the backend the path to the logfile 
Note: the logfile must be writable for Postgres dba user!!!

by Jens

pgsql-general by date

Next:From: Anatoly K. LasareffDate: 1999-08-27 08:35:30
Subject: Re: [GENERAL] pg_class missing
Previous:From: Natalya S. MakushinaDate: 1999-08-27 07:32:23
Subject: : [GENERAL] Problem with postgres log file

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group