difficulty to read logs with Jupyter (VSCode Dark theme) and new logging
See original GitHub issueDescription
I’m working on VSCode, and I custom my vscode with the Dark+ color theme. When I use interactive python to work it’s really diffcult to read logs because of colors. I need to select them to be able to read them correctly. I notice that the colors are slightly different in interactive python and in terminal.
Context
Steps to Reproduce
- use Vscode and Dark+ color theme
- install kedro 0.18.2
- some code like :
from pathlib import Path
from kedro.framework.session import KedroSession
from kedro.framework.startup import bootstrap_project
my_path = Path(__file__).resolve().parent.parent
metadata = bootstrap_project(my_path)
session = KedroSession.create(metadata.package_name, project_path=my_path)
local_context = session.load_context()
my_data= local_context.catalog.load("my_partitioned_data")
you will have :
my_data.items()
you will have :
Expected Result
I would like to have readable logs.
Actual Result
logs are difficulty to read.
Your Environment
- Kedro version used (
pip show kedro
orkedro -V
): 0.18.2 - Python version used (
python -V
): 3.9.13 - Operating system and version: linux and VSCode with Dark+ theme
thank you for your help 😃
Issue Analytics
- State:
- Created a year ago
- Comments:14 (13 by maintainers)
Top Results From Across the Web
Log can be difficult to read or interpret · Issue #9650 - GitHub
Unfortunately, this log can be extremely difficult to read and understand ... Default the Jupyter > Logging: Level setting to something less ...
Read more >How to get jupyter notebook theme in vscode - Stack Overflow
1- Go to your Jupyter extension => Extension settings => and check "Ignore Vscode Theme" . 2- Click on File => preference =>...
Read more >September 2022 (version 1.72) - Visual Studio Code
Learn what is new in the Visual Studio Code September 2022 Release (1.72)
Read more >User and Workspace Settings - Visual Studio Code
json file. You can open the settings. json file with the Preferences: Open Settings (JSON) command in the Command Palette (Ctrl+Shift+P). Once the...
Read more >October 2022 - Visual Studio Code
Learn what is new in the Visual Studio Code October 2022 Release (1.73) ... You can also set log level per extension from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@noklam maybe let’s group this under the similar databricks issue?
I’ll add my own experience, I just install
jupyterthemes
for Jupyter Notebook and it doesn’t work well with the dark theme. Ideallyrich
is smart enough to handle most of the situations, but it’s also inevitable it will crash with plugins. I can imagine it will interfere with dark-themes browser plugin as well. In that case, we should have an easy way to disable therich
REPL .