Re: [HACKERS] SYSLOGD facility
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] SYSLOGD facility |
Дата | |
Msg-id | 199909282032.QAA04169@candle.pha.pa.us обсуждение исходный текст |
Ответ на | SYSLOGD facility (Oleg Bartunov <oleg@sai.msu.su>) |
Список | 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@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, Pennsylvania19026
В списке pgsql-hackers по дате отправления: