This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Henri.Salo
Recipients Henri.Salo
Date 2010-06-03.21:11:52
SpamBayes Score 0.22773011
Marked as misclassified No
Message-id <1275599514.93.0.639768129715.issue8890@psf.upfronthosting.co.za>
In-reply-to
Content
Module logging has dangerous examples as one can see from: <http://docs.python.org/library/logging.html#simple-examples> 15.6.1.1:

> import logging
> LOG_FILENAME = '/tmp/logging_example.out'
> logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG)
> logging.debug('This message should go to the log file')

It is not very wise to guide programmers to create programming mistakes. More information about the situation from: <http://www.owasp.org/index.php/Insecure_Temporary_File>.
History
Date User Action Args
2010-06-03 21:11:55Henri.Salosetrecipients: + Henri.Salo
2010-06-03 21:11:54Henri.Salosetmessageid: <1275599514.93.0.639768129715.issue8890@psf.upfronthosting.co.za>
2010-06-03 21:11:53Henri.Salolinkissue8890 messages
2010-06-03 21:11:52Henri.Salocreate