Changeset

7138:ae1d53c2f598

loggingmanager: Remove Windows hack, buffer_mode should fix this
author Kim Alvefur <zash@zash.se>
date Thu, 04 Feb 2016 18:40:24 +0100
parents 7137:4a5619a87b44
children 7139:2f9088c663c6
files core/loggingmanager.lua
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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;