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

log more commands #1197

Merged
merged 2 commits into from Oct 29, 2019
Merged

log more commands #1197

merged 2 commits into from Oct 29, 2019

Conversation

teto
Copy link
Member

@teto teto commented Sep 12, 2019

while developing on nixops, I regularly have issues and logging the run command helps a lot in debugging.
I wonder if nixops should have different levels but it would be cool to better log commands.
(I can remove the NIX_SSHOPTS)

@teto
Copy link
Member Author

teto commented Sep 20, 2019

I have removed the controversial logging and logged an additionnal ssh command. Looking forward to see this merged.

@teto teto changed the title log commands and NIX_SSHOPTS log more commands Sep 20, 2019
@AmineChikhaoui
Copy link
Member

I don't think emitting verbose logging by default is a good idea ? this should at least be done only if --debug is set imo.

@teto
Copy link
Member Author

teto commented Sep 23, 2019

sure. Fixed.

when --debug is set
@teto
Copy link
Member Author

teto commented Oct 24, 2019

really addressed the comment this time.

@AmineChikhaoui AmineChikhaoui merged commit e71cb1d into NixOS:master Oct 29, 2019
@teto teto deleted the logging branch October 30, 2019 14:46
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