
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


Wed, 28 Jul 1999 22:39:58 +0400 (MSD)
Oleg Bartunov <oleg@sai.msu.su>
SYSLOGD facility
I just compiled the current source tree with SYSLOGD enabled, and it
compiled fine.


> 
> 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
> 
> 
> 


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Tue, 28 Sep 1999 16:32:30 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] SYSLOGD facility