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

kivy.logger.FileHandler discards parts of the log message #3543

Closed
janssen opened this issue Jul 31, 2015 · 2 comments
Closed

kivy.logger.FileHandler discards parts of the log message #3543

janssen opened this issue Jul 31, 2015 · 2 comments

Comments

@janssen
Copy link
Contributor

janssen commented Jul 31, 2015

FileHandler's _write_message never formats the record it receives; instead, it just writes the "msg" field out to the file. The "msg" field is the format string. It needs to be merged with the arguments before it is written. Usually by calling the Handler's Formatter instance.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@stale
Copy link

stale bot commented Oct 7, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 7, 2017
@dessant dessant removed the stale label May 13, 2018
@Julian-O
Copy link
Contributor

FileHandler now inherits from logging.Handler, and calls self.format(record) which does what you are asking.

Closing as fixed (at least a year ago, probably more).

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

3 participants