Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change pagenum warnings to INFO #249

Open
rtonsing opened this issue Jan 1, 2025 · 1 comment
Open

Change pagenum warnings to INFO #249

rtonsing opened this issue Jan 1, 2025 · 1 comment

Comments

@rtonsing
Copy link

rtonsing commented Jan 1, 2025

WARNING:root:48 elements having class pagenum have been rewritten.

I suggest these be made just INFO. WARNING implies there is a problem, in this case there is none as far as the HTML is concerned, it is just that ebookmaker rewrites them for epub.

As a side issue, is there a way to NOT repeat warnings, etc. 3 times? I am a fan of keeping error output concise and helpful.

@eshellman
Copy link
Collaborator

Yes, these could be INFO messages. They predate my work on Ebookmaker.

Because of the way Ebookmaker makes a new job for each output type, removing duplicate warnings across jobs is really hard. I would really like to do some refactoring that would make it easier, but it's not looking like that will make it into v0.13. The duplicate warnings for the mobi outputs may go away in v0.13, because I need to do related work for PDF output.

@eshellman eshellman changed the title Suggestion for pagenum warnings Change pagenum warnings to INFO Jan 1, 2025
@eshellman eshellman mentioned this issue Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants