Re: --enable-syslog in rh7 ? - Mailing list pgsql-general

From Sergio A. Kessler
Subject Re: --enable-syslog in rh7 ?
Date
Msg-id SAK.2000.10.31.onqbeenqjbefkfjn@a.b.c
Whole thread Raw
In response to Re: --enable-syslog in rh7 ?  (teg@redhat.com (Trond Eivind Glomsrød))
List pgsql-general
teg@redhat.com (Trond Eivind Glomsrød) el día 30 Oct 2000 11:23:25 -0500,
escribió:

>"Sergio A. Kessler" <sak@tribctas.gba.gov.ar> writes:
>
>> hi teg,
>>
>> the build of postgressql 7.0.2 in rh7 was with --enable-syslog ?
>
>No, but this is part of a configuration patch:
>
>  * USE_SYSLOG: use syslog for elog and error messages printed by tprintf
>@@ -169,7 +169,7 @@
>  * (syslog=0 for stdio, syslog=1 for stdio+syslog, syslog=2 for syslog).
>  * For information see backend/utils/misc/trace.c (Massimo Dal Zotto).
>  */
>-/* #define USE_SYSLOG */
>+#define USE_SYSLOG

hmmm, I'm more confused than before...    :)

i was reading in the docs that that for syslog
(ie. syslog = 2 in pg_options) to effectively work, you need to build
postgres with --enable-syslog

so the question is: if I put syslog = 2 in pg_options, it will work
in a rh7 with postgres out of the box ?

(sure, i can try, but I'm not in a hurry to use this feature, so if
it's not enabled, can you enable it in rh7.1 ?)

sergio


pgsql-general by date:

Previous
From: "Adam Lang"
Date:
Subject: OT: List confirmation
Next
From: Vince Vielhaber
Date:
Subject: Re: OT: List confirmation