Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b34705f

Browse files
committed
Issue #8890: Remove /tmp from examples.
1 parent 038018a commit b34705f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/howto/logging-cookbook.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ the basis for code meeting your own specific requirements::
723723
# The size of the rotated files is made small so you can see the results easily.
724724
def listener_configurer():
725725
root = logging.getLogger()
726-
h = logging.handlers.RotatingFileHandler('/tmp/mptest.log', 'a', 300, 10)
726+
h = logging.handlers.RotatingFileHandler('mptest.log', 'a', 300, 10)
727727
f = logging.Formatter('%(asctime)s %(processName)-10s %(name)s %(levelname)-8s %(message)s')
728728
h.setFormatter(f)
729729
root.addHandler(h)

0 commit comments

Comments
 (0)