summaryrefslogtreecommitdiff
path: root/server/src/log.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/log.lua')
-rw-r--r--server/src/log.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/log.lua b/server/src/log.lua
index 043ec43a..af4212e1 100644
--- a/server/src/log.lua
+++ b/server/src/log.lua
@@ -43,6 +43,7 @@ local function push_log(level, ...)
local str = table.concat(t, '\t', 1, t.n)
if level == 'error' then
str = str .. '\n' .. debug.traceback(nil, 3)
+ io.stderr:write(str .. '\n')
end
init_log_file()
if not log.file then