Re: [HACKERS] SYSLOGD facility

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: pgsql-hackers(at)postgreSQL(dot)org, dz(at)cs(dot)unitn(dot)it
Subject: Re: [HACKERS] SYSLOGD facility
Date: 1999-09-28 20:32:30
Message-ID: 199909282032.QAA04169@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)sai(dot)msu(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-09-28 20:54:49 My mailbox size
Previous Message Bruce Momjian 1999-09-28 19:53:40 Re: [HACKERS] Heads up: does RULES regress test still work for you?