From 43a50c538b06a1ba42f7187f9846377536557d56 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 9 Oct 2009 19:55:44 +0200 Subject: [PATCH] Change default log settings to be more development friendly. Breaks one test. --- src/util-debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util-debug.h b/src/util-debug.h index 2ed9008379..d0359c9020 100644 --- a/src/util-debug.h +++ b/src/util-debug.h @@ -52,7 +52,7 @@ typedef enum { } SCLogOPIface; /* The default log_format, if it is not supplied by the user */ -#define SC_LOG_DEF_LOG_FORMAT "<%d> - <%t>" +#define SC_LOG_DEF_LOG_FORMAT "%t - (%f:%l) <%d> -- " /* The maximum length of the log message */ #define SC_LOG_MAX_LOG_MSG_LEN 1024 @@ -61,10 +61,10 @@ typedef enum { #define SC_LOG_MAX_LOG_FORMAT_LEN 128 /* The default log level, if it is not supplied by the user */ -#define SC_LOG_DEF_LOG_LEVEL SC_LOG_ERROR +#define SC_LOG_DEF_LOG_LEVEL SC_LOG_INFO /* The default output interface to be used */ -#define SC_LOG_DEF_LOG_OP_IFACE SC_LOG_OP_IFACE_FILE +#define SC_LOG_DEF_LOG_OP_IFACE SC_LOG_OP_IFACE_CONSOLE /* The default log file to be used */ #define SC_LOG_DEF_LOG_FILE "/var/log/eidps/sc_ids_log.log"