summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-02-05 19:05:27 +0000
committerPeter Powell <petpow@saberuk.com>2017-02-28 05:19:12 +0000
commit7c301149883e038a4bf3ce4a7a9a6a91b3e1ce97 (patch)
tree5e698c3b99e9c3addf516a2dcd7b3b2686fc15cb /src/inspircd.cpp
parent51ff3d67ed1b6f1594373d3745293ef155a26f44 (diff)
Allow <log> tags to specify how often logs should be flushed.
Also use the behaviour behind this to fix #1290.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}