#include <assert.h>
#include <unistd.h>
#include "process.h"
+#include "util.h"
bool_t secnet_is_daemon=False;
uint32_t message_level=M_WARNING|M_ERR|M_SECURITY|M_FATAL;
/* Each line is sent separately */
while ((nlp=strchr(buff,'\n'))) {
*nlp=0;
- log(system_log,class,buff);
+ slilog(system_log,class,"%s",buff);
memmove(buff,nlp+1,strlen(nlp+1)+1);
}
} else {
prefix);
}
-init_module log_module;
void log_module(dict_t *dict)
{
add_closure(dict,"logfile",logfile_apply);