Added logging support so the print output does not interfere with the python script cgi stuff.