diff --git a/workdir/main.lua b/workdir/main.lua
index 4d516c6..08dd597 100644
--- a/workdir/main.lua
+++ b/workdir/main.lua
@@ -2,6 +2,7 @@
 
 --redirect_log (logdir.."debug.log")
 --redirect_log (NULL, "ffffffff")
+redirect_log (logdir.."debug.log")
 
 function printf (...)
   io.write (string.format (...))
