You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Gutenberg logs, only one logger name (gutenberg2zim.constants) is used making it pretty useless.
[gutenberg2zim.constants::2023-08-19 11:40:30,563] INFO: Parsing file cache/epub/99/pg99.rdf for book id 99
[gutenberg2zim.constants::2023-08-19 11:40:31,442] INFO: Parsing file cache/epub/9/pg9.rdf for book id 9
[gutenberg2zim.constants::2023-08-19 11:40:32,515] INFO:Add possible url to db
[gutenberg2zim.constants::2023-08-19 11:40:32,517] DEBUG:bash -c rsync -a --list-only rsync://aleph.pglaf.org/gutenberg/ > tmp/file_on_aleph_pglaf_org
We should not log the name anymore and instead log the filename with %(filename)s or module with %(module)s
The text was updated successfully, but these errors were encountered:
We've found that a single name is enough in most scrapers so we use the name to distinguish our logs from the other dependencies. Here it should use gutenberg2zim instead of the module name.
We could use different name base on file or module but it brings little value and make the logs very difficult to read because lines are not aligned (prefix size changes)
In Gutenberg logs, only one logger
name
(gutenberg2zim.constants
) is used making it pretty useless.We should not log the
name
anymore and instead log the filename with%(filename)s
or module with%(module)s
The text was updated successfully, but these errors were encountered: