summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-06-26 13:29:27 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-06-26 13:29:27 (GMT)
commitea30a5e6bd1ea92b57745a486591ba89332b307c (patch)
tree1c784f85fe162044d4a53fa24f22f93947fcf727
parent29e2c64edd9696483d51a24a6f74ae74815b441d (diff)
parentb34705ff379a44da549ed6615ed5043bb9ac0ec4 (diff)
downloadcpython-ea30a5e6bd1ea92b57745a486591ba89332b307c.zip
cpython-ea30a5e6bd1ea92b57745a486591ba89332b307c.tar.gz
cpython-ea30a5e6bd1ea92b57745a486591ba89332b307c.tar.bz2
Issue #8890: Remove /tmp from examples.
-rw-r--r--Doc/howto/logging-cookbook.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index 198d892..c201e87 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)