From 335c3e2b819bf3e190869dc432a9809c004557f1 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Fri, 6 Feb 2015 21:30:45 +0000 Subject: [PATCH] Revert "newRollingFileLogger - fmtStr is always set to defaultFmtStr" --- lib/pure/logging.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/logging.nim b/lib/pure/logging.nim index 82e1025bb6..9247f69c5b 100644 --- a/lib/pure/logging.nim +++ b/lib/pure/logging.nim @@ -183,7 +183,7 @@ proc newRollingFileLogger*(filename = defaultFilename(), ## a new log file will be started and the old will be renamed. new(result) result.levelThreshold = levelThreshold - result.fmtStr = fmtStr + result.fmtStr = defaultFmtStr result.maxLines = maxLines result.f = open(filename, mode) result.curLine = 0