eris- Elasticsearch Recon Ingestion Scripts (ERIS) 🔎 |
git clone git://git.acid.vegas/-c.git |
Log | Files | Refs | Archive | README | LICENSE |
commit c3b9cb9e08574ac21c093b84e5a5b986872b7a7e
parent de3878ef6bbc6d43bf5e5a250d4ed22023ed2b40 Author: acidvegas <acid.vegas@acid.vegas> Date: Mon, 11 Mar 2024 23:06:25 -0400 Fixed logger level Diffstat:
|
1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git 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. |