SYSLOGD facility

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: pgsql-hackers(at)postgreSQL(dot)org
Cc: dz(at)cs(dot)unitn(dot)it
Subject: SYSLOGD facility
Date: 1999-07-28 18:39:58
Message-ID: Pine.GSO.3.96.SK.990728223505.27569U-100000@ra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message G. Anthony Reina 1999-07-28 22:20:12 pg_dump not dumping all tables
Previous Message D'Arcy J.M. Cain 1999-07-28 16:16:09 Re: [HACKERS] Checking if a system is ELF