|
Post by swanseamick on Jul 17, 2013 8:00:34 GMT -8
After setting DEBUG=True in Config.py, debugging messages print to Console, and can be a pain in the butt to track a fault, and makes it hard to copy them to this forum for action.
How about amending the actions of the DEBUG to send the messages to a log file. It would then be a simple matter to copy the log file if needed to be sent to forum.
Mike
|
|
|
Post by SDL on Sept 9, 2013 19:16:34 GMT -8
Mike,
If you run the server using nohup, the debugging output goes into nohup.out in the same directory.
nohup sudo sh startserver.sh
and then tail the nohup.out file
tail -f nohup.out
then you can watch it scroll by and it is all captured in nohup.out
Best regards,
BP
|
|