Fixed a typo in the docs
logger => loggers in logging.yaml
This commit is contained in:
parent
48fe23b1f1
commit
d0733d8769
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
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::
|
(it's usually not there). The general format is this::
|
||||||
|
|
||||||
logger:
|
loggers:
|
||||||
<component>:
|
<component>:
|
||||||
level: <loglevel>
|
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
|
.. code-block:: yaml
|
||||||
|
|
||||||
logger:
|
loggers:
|
||||||
octoprint.events:
|
octoprint.events:
|
||||||
level: DEBUG
|
level: DEBUG
|
||||||
octoprint.filemanager:
|
octoprint.filemanager:
|
||||||
|
|
@ -97,4 +97,4 @@ expressed in YAML as follows:
|
||||||
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
||||||
|
|
||||||
The possible keys for the logging format can be found in the
|
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>`_.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue