ignore /api/ping access log
This commit is contained in:
parent
fef60f0395
commit
1319c3e1ab
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ class Main:
|
||||||
LOG.info("=" * 40)
|
LOG.info("=" * 40)
|
||||||
|
|
||||||
if self.config.access_log:
|
if self.config.access_log:
|
||||||
http_logger.addFilter(lambda record: "GET /ping" not in record.getMessage())
|
http_logger.addFilter(lambda record: "GET /api/ping" not in record.getMessage())
|
||||||
|
|
||||||
web.run_app(
|
web.run_app(
|
||||||
self.app,
|
self.app,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue