From 120acf54eca541b35dbb5501f84704e9681f519b Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 1 Oct 2018 13:48:22 +0100 Subject: Add 'trace' logging level for src/Database.py and src/EventManager.py very verbose debugging --- start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'start.py') 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) -- cgit v1.3.1-10-gc9f91