diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2019-01-07 10:41:45 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-01-07 10:41:45 +0100 |
commit | 3a2fcc69a8eb4237b2862b3e291971d38748f115 (patch) | |
tree | f7918781bc17ee4abea810271e1ee50a4b2b3b80 /crocoite/cli.py | |
parent | 73c0647fd35a6ca07bf53a987d6be7ef1055cf43 (diff) | |
download | crocoite-3a2fcc69a8eb4237b2862b3e291971d38748f115.tar.gz crocoite-3a2fcc69a8eb4237b2862b3e291971d38748f115.tar.bz2 crocoite-3a2fcc69a8eb4237b2862b3e291971d38748f115.zip |
Log Chrome’s responses to WARC by default
We may not be able to reproduce every failure, so logging as much as
possible is important to figure out what went wrong. Also, in case a bug
is uncovered in the future, we can check the logs and possibly fix it
with -errata.
Diffstat (limited to 'crocoite/cli.py')
-rw-r--r-- | crocoite/cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crocoite/cli.py b/crocoite/cli.py index f9ef52c..a8de73b 100644 --- a/crocoite/cli.py +++ b/crocoite/cli.py @@ -32,7 +32,8 @@ from .controller import SinglePageController, \ RecursiveController, DepthLimit, PrefixLimit from .devtools import Passthrough, Process from .warc import WarcHandler -from .logger import Logger, JsonPrintConsumer, DatetimeConsumer, WarcHandlerConsumer +from .logger import Logger, JsonPrintConsumer, DatetimeConsumer, \ + WarcHandlerConsumer, Level from .devtools import Crashed class SingleExitStatus(IntEnum): |