You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by lpintes on 2011-11-01 20:27
When I am reading the log, I am always stripping base path from log messages to decrease redundancy. I am doing this by using find/replace in text editor. It is a bit annoying to do this every time, so here is little patch to do it automatically during logging.
The text was updated successfully, but these errors were encountered:
Comment 1 by jteh on 2011-11-03 04:38
Thanks for the patch. I reworked it and committed in a72d941. Changes:
Base path is now stripped from stack_info tracebacks as well as exceptions.
The search string is a bit more specific to avoid accidentally stripping the base path from other places; e.g. raising an exception which includes the base path. It's technically still not 100% safe, but this shouldn't ever be an issue in reality.
Changes:
Milestone changed from None to 2012.1
State: closed
Reported by lpintes on 2011-11-01 20:27
When I am reading the log, I am always stripping base path from log messages to decrease redundancy. I am doing this by using find/replace in text editor. It is a bit annoying to do this every time, so here is little patch to do it automatically during logging.
The text was updated successfully, but these errors were encountered: