Add description of ELOG_TIMESTAMPS and USE_SYSLOG options,
authorTom Lane
Sun, 17 Jan 1999 20:58:03 +0000 (20:58 +0000)
committerTom Lane
Sun, 17 Jan 1999 20:58:03 +0000 (20:58 +0000)
per Massimo Dal Zotto.

src/include/config.h.in

index 3ab45d0a73eb3784353cca143372f26360ecac4e..ce01ecd0a2fab7e0bcd69167cd5b502f211686ae 100644 (file)
@@ -456,4 +456,18 @@ extern void srandom(int seed);
  */
 #define TBL_FREE_CMD_MEMORY
 
+/*
+ * ELOG_TIMESTAMPS: adds a timestamp with the following format to elog
+ * messages:  yymmdd.hh:mm:ss.mmm [pid] message
+ */
+/* #define ELOG_TIMESTAMPS */
+
+/*
+ * USE_SYSLOG: use syslog for elog and error messages printed by tprintf
+ * and eprintf. This must be activated with the syslog flag in pg_options
+ * (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 */
+
 #endif /* CONFIG_H */