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

Changed all log messages to proper formatting. #562

Closed
wants to merge 2 commits into from

Conversation

ofir123
Copy link
Contributor

@ofir123 ofir123 commented Jan 25, 2016

Log messages would cause errors in Python 3.5 because of bad formatting, so I've fixed all the log message lines.
Error screenshot:
image

@Diaoul
Copy link
Owner

Diaoul commented Jan 25, 2016

The fix is wrong, the formatting should be done by the logger functions for performance optimization. I don't now why you have this error, maybe changing %r to %s will solve the issue? Can you try that?

@ofir123
Copy link
Contributor Author

ofir123 commented Jan 25, 2016

Still an issue.. even after changing to %s:
image

@ofir123
Copy link
Contributor Author

ofir123 commented Feb 3, 2016

Since most of the time is spent on HTTP access to the subtitle sites, is it really necessary to optimize log messages?

@Diaoul
Copy link
Owner

Diaoul commented Feb 3, 2016

It's the way it is supposed to work see the official doccumentation. I'll try to reproduce your issue but I think there is something wrong with your setup.

@Diaoul
Copy link
Owner

Diaoul commented Feb 29, 2016

I'm closing since this is a local issue.

@Diaoul Diaoul closed this Feb 29, 2016
@ofir123 ofir123 deleted the python3-logger-fix branch August 16, 2016 19:24
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

Successfully merging this pull request may close these issues.

None yet

2 participants