char message[1024];
size_t msglen = sizeof(message);
- if(!should_log(DEBUG_ALWAYS)) {
+ if(!should_log(DEBUG_TRAFFIC)) {
return;
}
}
}
- real_logger(DEBUG_ALWAYS, LOG_ERR, message);
+ real_logger(DEBUG_TRAFFIC, LOG_ERR, message);
}
void openlogger(const char *ident, logmode_t mode) {