loggingmanager: Remove Windows hack, buffer_mode should fix this
authorKim Alvefur <zash@zash.se>
Thu, 4 Feb 2016 17:40:24 +0000 (18:40 +0100)
committerKim Alvefur <zash@zash.se>
Thu, 4 Feb 2016 17:40:24 +0000 (18:40 +0100)
core/loggingmanager.lua

index 003982294163b0623482ae4b9faddad0f0753923..64e1ea77b9cb7d33537f9e57097e5d06fb37b92a 100644 (file)
@@ -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;