enable cell number print when verbose logging activates#26
enable cell number print when verbose logging activates#26eaidova wants to merge 1 commit intoReviewNB:masterfrom
Conversation
|
@eaidova Thank you for contributing to treon.
I agree that this is useful. In addition to cell index, it would be better to log the cell content as well. E.g. if a user sees that cell #67 failed, there's no easy way (that I know of) in JupyterLab UI to go to cell #67. The user will have to manually start counting from the top. If they also see the cell content then they can |
|
@amit1rrr I think your sggestion maybe too noisy... in case, if error happens there is stack trace with exact stacktrace including cell content. The problematic part for debugging is kernel died (that raised outside notebook and does not have any logging in some cases), so it will required to print every cell... |
Can you please share an example notebook where this happens? |
I was not able reproduce issue locally, only on ci machine, my treon logs looks like: |
|
Thanks for sharing these. Just FYI - I'm out of office for a week. I will review this as soon as I'm back. |

add info about which cell executed in verbose logs, in some cases this info helpful for search source of Kernel Died error which does not have a lot of logs...