It’s cumbersone to manually scroll to the latest logged message when using the log console on jupyterlab (Menu > Show > Show Log Console). It should automatically scroll like watching a terminal output.
Is there a configuration or switch that I’m missing, is there a browser workaround or this could be a feature request? I’ve searched the docs, here, issues on github, stackoverflow and cannot find anything!
Thanks!
Fernando
When you scroll to the bottom, it should stick to the bottom (i.e., automatically scroll). If it’s not doing that, something is broken. Can you file an issue in JupyterLab, and include the information asked for in the issue template?
Will do!
Maybe it sticks to the bottom for a couple of logs then de attaches.
Now disabling firefox extensions, %matplotlib widget
etc… It’s been a while since my last bug report, at least is a fairly clean debian buster install.
Thanks for the quick reply!
It was a bit tricky to get that autoscroll behavior, so it may have some trouble sometimes. IIRC, there are some new CSS/HTML capabilities rolling out that will make it easier in the future.
I can barely sniff that that autoscroll behavior is really tricky because I’ve been avoiding css/html as much as I can because [you know, I’m something of a data scientist myself](https://i.kym-cdn.com/entries/icons/original/000/025/351/afoeeee.jpg
I did some more testing and it worked alright on Chrome and Edge (the new one), worked for a while on Epiphany (Gnome browser) and never on Firefox.
Maybe there’s a simpler but uglier workaround? Like a switch to redraw the window from scroll mode to a new “static mode” (like a tmux buffer or something)? …Well I hope it gets better with that new rolling out you mention!
On the other hand, I already published my issue, as requested.
Finally I realized I got this other confusion about using the log console, I can never get to print al logs using this:
import logging
logging.debug(‘This is a debug message’)
logging.info(‘This is an info message’)
logging.warning(‘This is a warning message’)
logging.error(‘This is an error message’)
logging.critical(‘This is a critical message’)
Deserves another thread?
Thanks very much!
Fernando