Prefix modules/rest_api.py logging with "[HTTP] "
This commit is contained in:
parent
1275352576
commit
06078ba959
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||||
self._handle("post", parsed.path, data=post_body, params=post_params)
|
self._handle("post", parsed.path, data=post_body, params=post_params)
|
||||||
|
|
||||||
def log_message(self, format, *args):
|
def log_message(self, format, *args):
|
||||||
_log.info(format, args)
|
_log.info("[HTTP] " + format, args)
|
||||||
|
|
||||||
@utils.export("botset", {"setting": "rest-api",
|
@utils.export("botset", {"setting": "rest-api",
|
||||||
"help": "Enable/disable REST API",
|
"help": "Enable/disable REST API",
|
||||||
|
|
Loading…
Reference in a new issue