Fixed a typo in the docs

logger => loggers in logging.yaml
(cherry picked from commit d0733d8)
This commit is contained in:
Gina Häußge 2015-07-14 09:10:14 +02:00
parent 7a007a6417
commit bb7e15be84

View file

@ -17,7 +17,7 @@ Changing log levels
If you need to change the default logging level within OctoPrint, create the file with a text editor of your choice
(it's usually not there). The general format is this::
logger:
loggers:
<component>:
level: <loglevel>
@ -27,7 +27,7 @@ new log level to set. An example for increasing the log level of the events and
.. code-block:: yaml
logger:
loggers:
octoprint.events:
level: DEBUG
octoprint.filemanager:
@ -97,4 +97,4 @@ expressed in YAML as follows:
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
The possible keys for the logging format can be found in the
`Python documentation on LogRecord attributes <https://docs.python.org/2/library/logging.html#logrecord-attributes>`_.
`Python documentation on LogRecord attributes <https://docs.python.org/2/library/logging.html#logrecord-attributes>`_.