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

Stop including the origin module in Debug logs #10642

Merged
merged 3 commits into from
Aug 18, 2020

Conversation

Eric-Arellano
Copy link
Contributor

Before:

20:28:40 [DEBUG] engine::externs::interface: File handle limit is: 20000
...
15:28:01 [DEBUG] workunit_store: Completed: pants.engine.internals.build_files.strip_address_origins

After:

20:28:40 [DEBUG] File handle limit is: 20000
...
15:28:01 [DEBUG] Completed: pants.engine.internals.build_files.strip_address_origins

[ci skip-build-wheels]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
Copy link
Contributor Author

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Added y'all because this is also a bike shed.

Imo, the module name is not very informative because so much of our logging happens across the FFI boundary. For example, all rules will have workunit_store as their module, which isn't informative. Even if we could control that module, I suspect it adds too much noise to justify.

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@coveralls
Copy link

coveralls commented Aug 18, 2020

Coverage Status

Coverage remained the same at 0.0% when pulling d7dbf87 on Eric-Arellano:logs-no-target into 5d7600d on pantsbuild:master.

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano merged commit d5801ae into pantsbuild:master Aug 18, 2020
@Eric-Arellano Eric-Arellano deleted the logs-no-target branch August 18, 2020 19:15
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.

4 participants