Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Provide a --debug flag #295
Comments
|
Actually, |
|
Do you think switching to Python's built-in module |
|
The idea I had here is to retrieve better error reports, so this would only affect on startup. I'm unsure about the logging module, since that's - at least in my experience - where traces go to die. I'd rather have messages as one stream of messages with types so external applications can easily consume them. |
|
Ok, but logging makes easy to turn on the debug messages, you can log to file-like objects (http://docs.python.org/2.6/library/logging.html#stream-handler) or customize the messages template. |
|
+1 |
|
@phihag Can this be closed now that there is a |
|
@codesparkle Yes, although it may be a good idea to add a further flag to output IP addresses, since we can detect LAN/ISP/national censorship (which often causes users to file issues) that way. |
We should include a --debug flag that determines and prints additional information for bug reports. The report should include: