The problem was that if you initialize logging and then close file handles 0,1,2 (AKA stdin/stdout/stderr) the logging module stops working. The solution is to initialize logging after you detach from the console.
The problem was that if you initialize logging and then close file handles 0,1,2 (AKA stdin/stdout/ stderr) the logging module stops working. The solution is to initialize logging after you detach from the console.