lighthouse.log.config
¶lighthouse.log.config.
Logging
[source]¶Bases: lighthouse.configurable.Configurable
Simple Configurable
subclass that allows for runtime configuration of
python’s logging infrastructure.
Since python provides a handy dictConfig
function and our system already
provides the watched file contents as dicts the work here is tiny.
name
= 'logging'¶from_config
(name, config)[source]¶Override of the base from_config()
method that returns None
if
the name of the config file isn’t “logging”.
We do this in case this Configurable
subclass winds up sharing the
root of the config directory with other subclasses.