aboutsummaryrefslogtreecommitdiff
path: root/start.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-01 13:48:22 +0100
committerGravatar jesopo2018-10-01 13:48:22 +0100
commit120acf54eca541b35dbb5501f84704e9681f519b (patch)
tree6e4b9d84d34116d67d50f6fcfb22172e416dcd66 /start.py
parentChange modules/line_handler.py to use @Utils.hook (diff)
signature
Add 'trace' logging level for src/Database.py and src/EventManager.py very
verbose debugging
Diffstat (limited to 'start.py')
-rwxr-xr-xstart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/start.py b/start.py
index 408afed0..ced525da 100755
--- a/start.py
+++ b/start.py
@@ -29,8 +29,8 @@ arg_parser.add_argument("--verbose", "-v", action="store_true")
args = arg_parser.parse_args()
-
-log = Logging.Log(args.log)
+log_level = "debug" if args.verbose else "info"
+log = Logging.Log(log_level, args.log)
cache = Cache.Cache()
config = Config.Config(args.config)
database = Database.Database(log, args.database)