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

More logging #457

Merged
merged 2 commits into from Apr 7, 2020
Merged

More logging #457

merged 2 commits into from Apr 7, 2020

Conversation

cole-h
Copy link
Member

@cole-h cole-h commented Apr 7, 2020

Avoid cluttering logs further.

Also, split out the info! with a newline to make logging more consistent.

GitHub doesn't let us, so we silently skip them.
Otherwise, we have one line that has the log prefix, and one line
immediately following that doesn't.
@@ -373,7 +373,8 @@ impl notifyworker::SimpleNotifyWorker for BuildWorker {
};

info!("ok built ({:?}), building", status);
info!("Lines:\n-----8<-----");
info!("Lines:");
info!("-----8<-----");
Copy link
Member

Choose a reason for hiding this comment

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

Nice. Once we're sloggin', we could even pass the lines in as a context argument!

@grahamc grahamc merged commit 83d7481 into NixOS:released Apr 7, 2020
@cole-h cole-h deleted the logging branch April 7, 2020 20:40
@grahamc
Copy link
Member

grahamc commented Apr 7, 2020

Thanks!

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