MCPcopy
hub / github.com/benoitc/gunicorn / has_logging_config

Function has_logging_config

gunicorn/app/pasterapp.py:26–29  ·  view source on GitHub ↗
(config_file)

Source from the content-addressed store, hash-verified

24
25
26def has_logging_config(config_file):
27 parser = configparser.ConfigParser()
28 parser.read([config_file])
29 return parser.has_section('loggers')
30
31
32def serve(app, global_conf, **local_conf):

Callers 2

load_configMethod · 0.85
initMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected