From c3b9cb9e08574ac21c093b84e5a5b986872b7a7e Mon Sep 17 00:00:00 2001 From: acidvegas Date: Mon, 11 Mar 2024 23:06:25 -0400 Subject: [PATCH] Fixed logger level --- eris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eris.py b/eris.py index 3fb5ccf..98ec387 100644 --- a/eris.py +++ b/eris.py @@ -138,7 +138,7 @@ class ElasticIndexer: raise Exception(f'Failed to index records to {self.es_index} from {file_path} ({e})') -def setup_logger(name: str, level: logging._Level = logging.INFO, to_file: bool = False, max_bytes: int = 250000, backups: int = 7) -> logging.Logger: +def setup_logger(name: str, level: int = logging.INFO, to_file: bool = False, max_bytes: int = 250000, backups: int = 7) -> logging.Logger: ''' Setup a custom logger with options for console and file logging.