community
community copied to clipboard
Add date/time to logging formatter
Is your feature request related to a problem? Please describe. I sometimes want a clear idea of how long it took for a problem to happen in an application, or generally other time-related info for stuff that's in the logs, but Kivy doesn't provide that by default.
Describe the solution you'd like Add date/time to Kivy logs - at the very least in log files (it's OK to omit them for stdout logging IMHO).
Describe alternatives you've considered I think we have some config options for that, but it's a bit cumbersome (and easy to forget) to change it for all apps when this really (again IMHO) should be the default.
Additional context Most frameworks come with a configuration that gives date/time in logs out of the box, it's very convenient when trying to debug issues, particularly in stateful frontend code that might have a timing component (animations, http requests, etc etc).
Thanks in advance, and I hope this isn't a duplicate but it's very hard to check because a lot of issues mention logging (obviously, since we tell people to provide logs hehe).