Message28235
| Author |
michaeltsai |
| Recipients |
| Date |
2006年04月14日.15:48:47 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
I have a logger that prints out %(filename)s:%(lineno)d along with the
message. Instead of printing the file and line in my code where I call the
logger, it prints out a location in logging/__init__.py.
I was able to fix this, at least for my purposes, by changing
logging.currentframe from sys._getframe to lambda:sys._getframe(3).
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:39:25 | admin | link | issue1470422 messages |
| 2007年08月23日 14:39:25 | admin | create |
|