General Bug Report: difficulty enabling USE_SYSLOG

Lists: Postg와이즈 토토SQL : Postg와이즈 토토SQL 메일 링리스트 : 1999-07-22 이후 PGSQL-BUGS 12:36
From: Unprivileged user <nobody>
To: pgsql-bugs(at)postgreSQL(dot)org
Subject: General Bug Report: difficulty enabling USE_SYSLOG
Date: 1999-07-22 12:36:57
Message-ID: 199907221236.IAA50741@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg와이즈 토토SQL : Postg와이즈 토토SQL 메일 링리스트 : 1999-07-22 이후 PGSQL-BUGS 12:36


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Jim Mercer
Your email address : jim(at)reptiles(dot)org

Category : install: compile
Severity : serious

Summary: difficulty enabling USE_SYSLOG

System Configuration
--------------------
Operating System : FreeBSD 2,3

PostgreSQL version : 6.5,6.5.1

Compiler used : gcc

Hardware:
---------
Pentium

Versions of other tools:
------------------------
standard

--------------------------------------------------------------------------

Problem Description:
--------------------
the flag USE_SYSLOG is defined in config.h, which is
created by configure.
the configure script does not know about USE_SYSLOG, however, i believe it knows about syslog in general
(ie it knows if there is a syslog(), and hence can enable based on that)
the documentation talks about syslog, but does not list a procedure for enabling it.

--------------------------------------------------------------------------

Test Case:
----------

--------------------------------------------------------------------------

Solution:
---------
change configure to enable USE_SYSLOG if syslog facilities are available.

--------------------------------------------------------------------------


From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Jim Mercer <jim(at)reptiles(dot)org>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: [BUGS] General Bug Report: difficulty enabling USE_SYSLOG
Date: 1999-07-22 15:45:40
Message-ID: 199907221545.LAA02192@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

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.

Comments?

>
> ============================================================================
> POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> Your name : Jim Mercer
> Your email address : jim(at)reptiles(dot)org
>
> Category : install: compile
> Severity : serious
>
> Summary: difficulty enabling USE_SYSLOG
>
> System Configuration
> --------------------
> Operating System : FreeBSD 2,3
>
> PostgreSQL version : 6.5,6.5.1
>
> Compiler used : gcc
>
> Hardware:
> ---------
> Pentium
>
> Versions of other tools:
> ------------------------
> standard
>
> --------------------------------------------------------------------------
>
> Problem Description:
> --------------------
> the flag USE_SYSLOG is defined in config.h, which is
> created by configure.
> the configure script does not know about USE_SYSLOG, however, i believe it knows about syslog in general
> (ie it knows if there is a syslog(), and hence can enable based on that)
> the documentation talks about syslog, but does not list a procedure for enabling it.
>
>
> --------------------------------------------------------------------------
>
> Test Case:
> ----------
>
>
> --------------------------------------------------------------------------
>
> Solution:
> ---------
> change configure to enable USE_SYSLOG if syslog facilities are available.
>
>
> --------------------------------------------------------------------------
>
>
>

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