66c08d431fb32b1ed5393ee04709765d33ca82ae — Emerson Veenstra 4 months ago 7590c50
add variable to toggle sanic access log
2 files changed, 3 insertions(+), 2 deletions(-)

M config.example.yaml
M openproxyherder.py
M config.example.yaml => config.example.yaml +2 -1
@@ 6,4 6,5 @@ db_password: "test"
 proxy_string: "test"
 has_reverse_proxy: False
 host: "127.0.0.1"
-port: 8080>
\ No newline at end of file
+port: 8080
+access_log: True<
\ No newline at end of file

M openproxyherder.py => openproxyherder.py +1 -1
@@ 225,4 225,4 @@ async def start_db(app, loop):
 
 
 if __name__ == "__main__":
-    app.run(host=config["host"], port=config["port"])
+    app.run(host=config["host"], port=config["port"], access_log=config["access_log"])