mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-22 06:29:13 -04:00
feat: set up structlog logging (#325)
This ports the logging from `logging` to `structlog`. This updates all of the logger instantiations along with all of the places `logging` was called. Data that was being inlined into log statements has been broken out so that it's now structured arguments to the log statements instead.
This commit is contained in:
parent
69d682beb9
commit
23cee477dc
15 changed files with 421 additions and 396 deletions
1
setup.py
1
setup.py
|
@ -76,6 +76,7 @@ setuptools.setup(
|
|||
"cryptography>=2.3",
|
||||
"python-magic>=0.4.15",
|
||||
"prometheus-client>=0.20.0",
|
||||
"structlog>=25.1.0",
|
||||
],
|
||||
extras_require={
|
||||
"yt-dlp": ["yt-dlp>=2024.7.25"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue