chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logging: provide vslilog as well as slilog
[secnet.git]
/
log.c
diff --git
a/log.c
b/log.c
index 32aed704b06e20e595ef366661426103fac6342f..f4ef8000605c866121031ecb4babf2965c2aa1ff 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-8,6
+8,7
@@
#include <assert.h>
#include <unistd.h>
#include "process.h"
#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;
bool_t secnet_is_daemon=False;
uint32_t message_level=M_WARNING|M_ERR|M_SECURITY|M_FATAL;
@@
-554,7
+555,6
@@
void log_from_fd(int fd, cstring_t prefix, struct log_if *log)
prefix);
}
prefix);
}
-init_module log_module;
void log_module(dict_t *dict)
{
add_closure(dict,"logfile",logfile_apply);
void log_module(dict_t *dict)
{
add_closure(dict,"logfile",logfile_apply);