3 Mar
2004
3 Mar
'04
2:25 a.m.
[Emile van Sebille]
... At this point, I won't be back to that site before next week, although I may take some time to test this weekend. It sounds like I should rework any areas that spew output to the console. Is there something better than checking os.path.basename(sys.executable)?
You could use the logging module all the time instead of trying to make the destination conditional on the executable name. Bad errors should probably be reported to the Windows Event Log service too; doing a serious job of making a thing a Windows Service is painful.