First commit

This commit is contained in:
Nix
2020-06-22 20:23:36 +03:00
parent d894c3db2a
commit 34c17fe452
10 changed files with 414 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
database_migrate: False
output_image_path: /var/www/downloads/speedgraph.png
output_txt_path: /var/www/downloads/speeds.txt
+31
View File
@@ -0,0 +1,31 @@
version: 1
disable_existing_loggers: False
formatters:
simple:
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: simple
stream: ext://sys.stdout
debug_file_handler:
class: logging.handlers.RotatingFileHandler
level: DEBUG
formatter: simple
filename: dashboard.log
maxBytes: 5000000 # 5MB
backupCount: 0
encoding: utf8
root:
level: ERROR
handlers: [debug_file_handler]
loggers:
"default":
level: DEBUG
handlers: [debug_file_handler, console]