summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2016-04-06 11:05:55 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2016-04-06 11:05:55 -0700
commitf19d8b325392043631be7254d226b71a300c6e40 (patch)
treeffbb33f6f70d03ba2169149da921c957dd5df340
parenta9cdf5be43d9dd915f8611f540e2f839c2e8d6a0 (diff)
downloadpyramid-f19d8b325392043631be7254d226b71a300c6e40.tar.gz
pyramid-f19d8b325392043631be7254d226b71a300c6e40.tar.bz2
pyramid-f19d8b325392043631be7254d226b71a300c6e40.zip
setup_logging: Intersphinx link to fileConfig
So Sphinx docs have a clickable link to `logging.config.fileConfig`.
-rw-r--r--pyramid/paster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/paster.py b/pyramid/paster.py
index 967543849..460056658 100644
--- a/pyramid/paster.py
+++ b/pyramid/paster.py
@@ -55,8 +55,8 @@ def get_appsettings(config_uri, name=None, options=None, appconfig=appconfig):
def setup_logging(config_uri, fileConfig=fileConfig,
configparser=configparser):
"""
- Set up logging via the logging module's fileConfig function with the
- filename specified via ``config_uri`` (a string in the form
+ Set up logging via :func:`logging.config.fileConfig` with the filename
+ specified via ``config_uri`` (a string in the form
``filename#sectionname``).
ConfigParser defaults are specified for the special ``__file__``