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

adding logging to Quinter #25

Open
mehgcap opened this issue Jul 26, 2021 · 4 comments
Open

adding logging to Quinter #25

mehgcap opened this issue Jul 26, 2021 · 4 comments

Comments

@mehgcap
Copy link
Contributor

mehgcap commented Jul 26, 2021

It would be easier to test things, and generally track what's going on, if Quinter supported logging. I plan to add this feature. I'll start by writing to a file which will be replaced when the app restarts, but other options (date-based rollover, storing N old files, etc) can be discussed if necessary. A logLevel preference will also be added in the advanced tab.

@TheQuinbox
Copy link
Collaborator

TheQuinbox commented Jul 26, 2021 via email

@TheQuinbox
Copy link
Collaborator

@mehgcap, any updates on this one? No problem if not, I have a pretty good idea of how to do it, with a few minor issues, but figured I'd see if this is still something you're working on or not before I accidentally overwrite work you've done.
Thanks.

@mehgcap
Copy link
Contributor Author

mehgcap commented Aug 27, 2021

I have it working. I didn't get to adding log statements everywhere, but I can merge what I have so others can use it. The problem right now is that logs don't roll over, so the Quinter log quickly becomes quite large if set to debug mode. I still want to get that fixed. Should logs roll over each day, or should the old log be lost when the app restarts?

@TheQuinbox
Copy link
Collaborator

Probably when the app restarts. The only problem with that approach is traceback errors when users report errors. If you still have more work to do that's also fine, just figured I'd check. :)

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