Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG
От | Tom Lane |
---|---|
Тема | Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG |
Дата | |
Msg-id | 11111.932690867@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG (Bruce Momjian <maillist@candle.pha.pa.us>) |
Список | pgsql-bugs |
Bruce Momjian <maillist@candle.pha.pa.us> writes: > You have to edit config.h after running configure. I realize this is a > pain. You could edit config.h.in, and configure would pick that up. > Perhaps we need to split out the configure-based stuff from config.h. That might be a good idea, now that so much stuff is configure-driven. Actually I'd be inclined to leave configure producing config.h, and have config.h #include a separate file that contains the non-machine-handled config symbols. "siteconfig.h", maybe. Re the original complaint, >> change configure to enable USE_SYSLOG if syslog facilities are available. I do *not* think that configure should automatically turn on USE_SYSLOG just because it can find a syslog() subroutine. Maybe the admin wants the log sent to syslog and maybe he doesn't. I'd be happier with adding a configure command line switch, say "--enable-syslog". regards, tom lane
В списке pgsql-bugs по дате отправления: