diff options
Diffstat (limited to 'src/include/utils/elog.h')
-rw-r--r-- | src/include/utils/elog.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index 24db6696e66..e3c8f9152ab 100644 --- a/src/include/utils/elog.h +++ b/src/include/utils/elog.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/elog.h,v 1.67 2004/03/21 22:29:11 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/elog.h,v 1.68 2004/04/05 03:02:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -176,11 +176,12 @@ typedef enum extern PGErrorVerbosity Log_error_verbosity; extern char *Log_line_prefix; +extern unsigned int Log_destination; -#ifdef HAVE_SYSLOG -extern int Use_syslog; -#endif - +/* Log destination bitmap */ +#define LOG_DESTINATION_STDERR 1 +#define LOG_DESTINATION_SYSLOG 2 +#define LOG_DESTINATION_EVENTLOG 4 /* Other exported functions */ extern void DebugFileOpen(void); |