core/loggingmanager.lua
changeset 7141 ae1d53c2f598
parent 7140 4a5619a87b44
child 7142 2f9088c663c6
--- a/core/loggingmanager.lua	Thu Feb 04 17:57:12 2016 +0100
+++ b/core/loggingmanager.lua	Thu Feb 04 18:40:24 2016 +0100
@@ -16,13 +16,6 @@
 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;