From b34705ff379a44da549ed6615ed5043bb9ac0ec4 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 26 Jun 2011 15:29:06 +0200 Subject: [PATCH] Issue #8890: Remove /tmp from examples. --- Doc/howto/logging-cookbook.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 198d89231b1..c201e87dcb8 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -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)