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

fix(logger): change log level to which prefix is added #7582

Merged
merged 2 commits into from
Sep 22, 2020

Conversation

magurotuna
Copy link
Member

This is separated PR of #7501.

I found that DEBUG JS - prefixes are added to logs for JavaScript, while DEBUG RS - is NOT added for Rust logs. Actually, for Rust, we see such prefixes in WARN and ERROR logs.
It seems weird to me and I wonder if this difference is intentional or not.

So in this PR I have fixed it so that we will get prefixed logs when log level is DEBUG orTRACE, for both JS and Rust.

CC @bartlomieju

@magurotuna
Copy link
Member Author

CI fails on source_graph_type_references but is passes on my local environment. I have no idea how to fix it...

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@ry ry merged commit c30c782 into denoland:master Sep 22, 2020
@magurotuna magurotuna deleted the issue7463-2 branch September 27, 2020 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants