Prefix modules/rest_api.py logging with "[HTTP] "

This commit is contained in:
jesopo 2018-11-14 23:02:32 +00:00
parent 1275352576
commit 06078ba959

View file

@ -79,7 +79,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
self._handle("post", parsed.path, data=post_body, params=post_params)
def log_message(self, format, *args):
_log.info(format, args)
_log.info("[HTTP] " + format, args)
@utils.export("botset", {"setting": "rest-api",
"help": "Enable/disable REST API",