mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Issue #8890: Remove /tmp from examples.
This commit is contained in:
parent
038018aaa4
commit
b34705ff37
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ the basis for code meeting your own specific requirements::
|
|||
# The size of the rotated files is made small so you can see the results easily.
|
||||
def listener_configurer():
|
||||
root = logging.getLogger()
|
||||
h = logging.handlers.RotatingFileHandler('/tmp/mptest.log', 'a', 300, 10)
|
||||
h = logging.handlers.RotatingFileHandler('mptest.log', 'a', 300, 10)
|
||||
f = logging.Formatter('%(asctime)s %(processName)-10s %(name)s %(levelname)-8s %(message)s')
|
||||
h.setFormatter(f)
|
||||
root.addHandler(h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue