From 7c301149883e038a4bf3ce4a7a9a6a91b3e1ce97 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 5 Feb 2017 19:05:27 +0000 Subject: Allow tags to specify how often logs should be flushed. Also use the behaviour behind this to fix #1290. --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 5fe2ef076..0c9b67910 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -343,7 +343,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : if (do_debug) { - FileWriter* fw = new FileWriter(stdout); + FileWriter* fw = new FileWriter(stdout, 1); FileLogStream* fls = new FileLogStream(LOG_RAWIO, fw); Logs->AddLogTypes("*", fls, true); } -- cgit v1.2.3