diff --git a/src/util-debug.c b/src/util-debug.c index 7a78987dda..7e9726bbb5 100644 --- a/src/util-debug.c +++ b/src/util-debug.c @@ -652,6 +652,10 @@ static inline SCLogOPIfaceCtx *SCLogInitConsoleOPIface(const char *log_format, } iface_ctx->log_level = tmp_log_level; + if (isatty(fileno(stdout))) { + + } + return iface_ctx; } diff --git a/src/util-debug.h b/src/util-debug.h index e5b4d70550..5b0dd008ea 100644 --- a/src/util-debug.h +++ b/src/util-debug.h @@ -120,12 +120,12 @@ typedef struct SCLogOPIfaceCtx_ { /* the facility code if the interface is SC_LOG_IFACE_SYSLOG */ int facility; - /* override for the global_log_format(currently not used) */ - const char *log_format; - /* override for the global_log_level */ SCLogLevel log_level; + /* override for the global_log_format(currently not used) */ + const char *log_format; + struct SCLogOPIfaceCtx_ *next; } SCLogOPIfaceCtx;