aboutsummaryrefslogtreecommitdiff
path: root/src/log_colored.c
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2018-08-26 16:01:18 +0200
committerlns <matzeton@googlemail.com>2019-02-04 01:52:06 +0100
commitf68988980d72d837f49451068b98bc96d1a548fc (patch)
tree557f91ecac2d94afa737c25b5cb81dc1eaebfc5e /src/log_colored.c
parente7b96666c03f1536fa89149204b363951523560e (diff)
Introduced the protocol->jail binary packet.feature/jail_packet
We are using a handler/callback functions to obtain additional information from the protocol handler and transmit it to the sandbox. Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/log_colored.c')
-rw-r--r--src/log_colored.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/log_colored.c b/src/log_colored.c
index 86aeab6..44e462e 100644
--- a/src/log_colored.c
+++ b/src/log_colored.c
@@ -100,7 +100,7 @@ void log_fmt_colored(log_priority prio, const char *fmt, ...)
my_pid = getpid();
curtime_str(time, sizeof time);
switch (prio) {
- case DEBUG:
+ case LP_DEBUG:
LOG(time, "[DEBUG] ", my_pid, out);
break;
case NOTICE:
@@ -140,7 +140,7 @@ void log_fmtex_colored(log_priority prio, const char *srcfile,
my_pid = getpid();
curtime_str(time, sizeof time);
switch (prio) {
- case DEBUG:
+ case LP_DEBUG:
LOGEX(time, "[DEBUG] ", my_pid, srcfile, line, out);
break;
case NOTICE:
@@ -178,7 +178,7 @@ void log_fmtexerr_colored(log_priority prio, const char *srcfile,
my_pid = getpid();
curtime_str(time, sizeof time);
switch (prio) {
- case DEBUG:
+ case LP_DEBUG:
LOGEXERR(time, "[DEBUG] ", my_pid, srcfile, line, out, saved_errno);
break;
case NOTICE: