aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-04 18:40:24 +0100
committerKim Alvefur <zash@zash.se>2016-02-04 18:40:24 +0100
commiteaf29780bdac6a4f471ebb7eb962a3367153d350 (patch)
treeea831c03393f3c97d7ff627d5ad862693f4684fc /core
parent2a4e1baafa3d7d05cb9c6a98b3c882828819e2b7 (diff)
downloadprosody-eaf29780bdac6a4f471ebb7eb962a3367153d350.tar.gz
prosody-eaf29780bdac6a4f471ebb7eb962a3367153d350.zip
loggingmanager: Remove Windows hack, buffer_mode should fix this
Diffstat (limited to 'core')
-rw-r--r--core/loggingmanager.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 00398229..64e1ea77 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -16,13 +16,6 @@ local math_max, rep = math.max, string.rep;
local os_date = os.date;
local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring;
--- COMPAT: This should no longer be needed since the addition of setvbuf calls
-if os.getenv("__FLUSH_LOG") then
- local io_flush = io.flush;
- local _io_write = io_write;
- io_write = function(...) _io_write(...); io_flush(); end
-end
-
local config = require "core.configmanager";
local logger = require "util.logger";
local prosody = prosody;