Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] - Improve the Kedro Run log, make "go to definition" easier #3672

Open
noklam opened this issue Mar 1, 2024 · 1 comment
Open

[Draft] - Improve the Kedro Run log, make "go to definition" easier #3672

noklam opened this issue Mar 1, 2024 · 1 comment
Labels
Issue: Feature Request New feature or improvement to existing feature

Comments

@noklam
Copy link
Contributor

noklam commented Mar 1, 2024

Description

image

These rich logs are actually clickable, but not enough people are aware of it. It would be nice if I can jump into the definition of the function quickly from the log.

It is actually possible, but currently they are hidden in a big chunk of stacktrace and hard to discover.

image

In addition, these logs are not always clickable if they are too long (side-effect of rich). See #3276. Recently, #3651 also demands more concise logging.

Context

While the log is
The current stacktrace look nice, but I have to admit that 90% I either look at the last few lines in the bottom or scroll up a lot to see the Kedro log. Important information that I mentioned in the description are often missed. I am also thinking how can we make this easier combined with the %load_node feature.

Possible Implementation

Is it possible to make that important stacktrace emitted from the node function to the logs or to the bottom?

Both solution will helps a bit.

Possible Alternatives

Bad idea: Push the last ERROR/WARNING to the exception that get raised, so they will show up in the bottom.

@noklam noklam added the Issue: Feature Request New feature or improvement to existing feature label Mar 1, 2024
@noklam noklam added this to the Something about logging milestone Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Feature Request New feature or improvement to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant