summaryrefslogtreecommitdiff
path: root/src/core/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/log.c')
-rw-r--r--src/core/log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/log.c b/src/core/log.c
index 8e7a8411..0069d329 100644
--- a/src/core/log.c
+++ b/src/core/log.c
@@ -256,6 +256,9 @@ static void log_set_config(LOG_REC *log)
CONFIG_NODE *node;
char *levelstr;
+ if (log->temp)
+ return;
+
node = iconfig_node_traverse("logs", TRUE);
node = config_node_section(node, log->fname, NODE_TYPE_BLOCK);