SYSLOGD facility - Mailing list pgsql-hackers

From Oleg Bartunov
Subject SYSLOGD facility
Date
Msg-id Pine.GSO.3.96.SK.990728223505.27569U-100000@ra
Whole thread Raw
Responses Re: [HACKERS] SYSLOGD facility
List pgsql-hackers
Hi,

Has anyone tried tocompile with SYSLOGD facility enabled ?
I just tried 6.5.1 but couldn't compiled on Linux 2.2.10:

trace.c: In function printf':
trace.c:119: OG_INFO' undeclared (first use in this function)
trace.c:119: (Each undeclared identifier is reported only once
trace.c:119: for each function it appears in.)
trace.c:119: OG_DEBUG' undeclared (first use in this function)
trace.c:96: warning: og_level' might be used uninitialized in this function
trace.c: In function printf':
trace.c:180: OG_ERR' undeclared (first use in this function)
trace.c: In function rite_syslog':
trace.c:207: warning: implicit declaration of function enlog'
trace.c:207: OG_PID' undeclared (first use in this function)
trace.c:207: OG_NDELAY' undeclared (first use in this function)
trace.c:207: OG_LOCAL0' undeclared (first use in this function)

It seems I'm missing something - I just uncomment lines in src/include/config.h
#define ELOG_TIMESTAMPS
#define USE_SYSLOG

btw, I'm not familiar with /etc/syslogd.conf, so what do I need to enable
postgres messages in /usr/adm/pgsql ?
Something like:
*.LOCAL0                                /usr/adm/pgsql
Regards,
    Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Selectivity of "=" (Re: [HACKERS] Index not used on simple se lect)
Next
From: "G. Anthony Reina"
Date:
Subject: pg_dump not dumping all tables