diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d52f42..5871a4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - New `--version` flag to display Zimit version +- New `--logging` flag to adjust Browsertrix Crawler logging (#273) ### Changed diff --git a/src/zimit/zimit.py b/src/zimit/zimit.py index c2502a8..74c19fa 100755 --- a/src/zimit/zimit.py +++ b/src/zimit/zimit.py @@ -353,6 +353,11 @@ def run(raw_args): version=f"Zimit {__version__}", ) + parser.add_argument( + "--logging", + help="Crawler logging configuration", + ) + zimit_args, warc2zim_args = parser.parse_known_args(raw_args) # pass url and output to warc2zim also @@ -560,6 +565,7 @@ def get_node_cmd_line(args): "healthCheckPort", "overwrite", "config", + "logging", ]: value = getattr(args, arg) if value is None or (isinstance(value, bool) and value is False):