Merge pull request #44489 from whytewolf/1956_log-granular-levels

update log-granular-levels to describe what they are filtering on
This commit is contained in:
Mike Place 2017-11-13 10:27:36 -07:00 committed by GitHub
commit b5c2028680
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,15 +225,16 @@ enclosing brackets ``[`` and ``]``:
Default: ``{}``
This can be used to control logging levels more specifically. The example sets
the main salt library at the 'warning' level, but sets ``salt.modules`` to log
at the ``debug`` level:
This can be used to control logging levels more specifically, based on log call name. The example sets
the main salt library at the 'warning' level, sets ``salt.modules`` to log
at the ``debug`` level, and sets a custom module to the ``all`` level:
.. code-block:: yaml
log_granular_levels:
'salt': 'warning'
'salt.modules': 'debug'
'salt.loader.saltmaster.ext.module.custom_module': 'all'
External Logging Handlers
-------------------------