summaryrefslogtreecommitdiff
path: root/src/sync-mode.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-03 15:51:48 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-03 15:51:48 +0000
commitc41a0d3efc957505e72067e99a873ce66be0834a (patch)
tree31202265c1acd117df130ef0e9b466a005e8cabe /src/sync-mode.c
parentd6978c9faadf9552bcb522d56d40c8aefa2e503e (diff)
downloadconntrack-tools-c41a0d3efc957505e72067e99a873ce66be0834a.tar.gz
conntrack-tools-c41a0d3efc957505e72067e99a873ce66be0834a.zip
o add support for connection logging to the statistics mode via Logfile
o minor irrelevant fixes for uncommon error paths and fix several typos o use LOG_INFO for connection logging, use LOG_NOTICE for other information o minor error handling updates
Diffstat (limited to 'src/sync-mode.c')
-rw-r--r--src/sync-mode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c
index 7cd2b84..7c42c78 100644
--- a/src/sync-mode.c
+++ b/src/sync-mode.c
@@ -273,13 +273,14 @@ static int local_handler_sync(int fd, int type, void *data)
case COMMIT:
ret = fork();
if (ret == 0) {
- dlog(STATE(log), LOG_INFO, "committing external cache");
+ dlog(STATE(log), LOG_NOTICE,
+ "committing external cache");
cache_commit(STATE_SYNC(external));
exit(EXIT_SUCCESS);
}
break;
case FLUSH_CACHE:
- dlog(STATE(log), LOG_INFO, "flushing caches");
+ dlog(STATE(log), LOG_NOTICE, "flushing caches");
cache_flush(STATE_SYNC(internal));
cache_flush(STATE_SYNC(external));
break;