ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

Enable logging for easier bugtracking #12

Closed ivoflipse closed 11 years ago

ivoflipse commented 11 years ago

Given that not all users know how to read a stack trace or even explain what they did exactly I always like to see what functions have been called and preferably in what order.

I should try to enable logging to a configurable destination (sys.stdout or file) and have all messages go there.

ivoflipse commented 11 years ago

While you're at it, move all the print statements, like tracking and whatnot to this logging destination or use the statusbar or both, its there for a reason!

ivoflipse commented 11 years ago

I'm currently trying to figure out what the best way to enable logging would be. I think I'll tie it in with pubsub, so I can log what messages have been send.

ivoflipse commented 11 years ago

In case I don't want to keep logs around forever, but instead have them created from scratch every time using filemode = "w"

ivoflipse commented 11 years ago

Also I should test whether the logging actually worked, especially in places where I WANT to get notified

ivoflipse commented 11 years ago

While I haven't tested all of them, most seemed to work so far, the rest will be added as we go. So unless someone has something to add, I'm closing this for now