Re: [HACKERS] Postmaster options, process spawning, logging, etc.

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Ed Loehr <ELOEHR(at)austin(dot)rr(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Matthew Hagerty <matthew(at)venux(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Postmaster options, process spawning, logging, etc.
Date: 1999-12-17 10:39:38
Message-ID: Pine.GSO.3.96.SK.991217133740.9217E-100000@ra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

You need only ELOG_TIMESTAMPS defined. syslogd is another story -
I had no luck with it under Linux. Don't forget to make clean and
recompile sources. It should works.

Oleg

On Fri, 17 Dec 1999, Ed Loehr wrote:

> Date: Fri, 17 Dec 1999 02:06:08 -0600
> From: Ed Loehr <ELOEHR(at)austin(dot)rr(dot)com>
> To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> Cc: Matthew Hagerty <matthew(at)venux(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
> Subject: Re: [HACKERS] Postmaster options, process spawning, logging, etc.
>
> Tom Lane wrote:
>
> > > The postmaster log file, why are the entries not datestamped?
> >
> > Uncomment #define ELOG_TIMESTAMPS in include/config.h after configure
> > and before make...
>
> I'm still missing something...
>
> After running ./configure, I modifed ...src/include/config.h to uncomment
> this...
>
> #define ELOG_TIMESTAMPS
>
> [I also came back later and tried uncommenting #define USE_SYSLOG and repeating
> the process, but to no avail...]
>
> Then I ran make, etc, created the file $PGDATA/pg_options...
>
> % cat $PGDATA/pg_options
> verbose=2
> query
> syslog=2
>
> And restarted the server...and still no timestamps.
>
> I verified most everything syslog-wise (configured in /etc/syslog.conf) is
> being sent to /var/log/messages...
>
> Anyone notice what am I missing?
>
> Cheers,
> Ed Loehr
>
> [ps - Forgive my spewage...I mistakenly sent this out of context to
> pgsql-general as well...]
>
>
> ************
>

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-12-17 10:59:50 LONG varsize - how to go on
Previous Message Jose Soares 1999-12-17 09:39:49 Re: [HACKERS] \copy problem