mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-12 09:03:20 -04:00
improve TRACE level logging
This commit is contained in:
parent
ed2d58d87d
commit
5f4c5190da
6 changed files with 25 additions and 15 deletions
|
@ -91,8 +91,7 @@ def _add_proxy_options(arg_parser):
|
|||
|
||||
def configure_logging(args):
|
||||
logging.basicConfig(
|
||||
stream=sys.stderr, level=args.log_level,
|
||||
format=(
|
||||
stream=sys.stderr, level=args.log_level, format=(
|
||||
'%(asctime)s %(process)d %(levelname)s %(threadName)s '
|
||||
'%(name)s.%(funcName)s(%(filename)s:%(lineno)d) %(message)s'))
|
||||
logging.getLogger('requests.packages.urllib3').setLevel(logging.WARN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue