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

Enable more verbose logging #33

Open
goxberry opened this issue Nov 3, 2020 · 4 comments
Open

Enable more verbose logging #33

goxberry opened this issue Nov 3, 2020 · 4 comments

Comments

@goxberry
Copy link
Member

goxberry commented Nov 3, 2020

As part of debugging some compiler flag settings, I'd like a command-line option to increase output verbosity to see what flags are being passed to the build systems spack is invoking during spack dev-build. If I were to file a PR adding a --verbose flag to uberenv, would that code be of interest?

Is there any roadmap for logging features in uberenv? I imagine there might be other phases of provisioning worth logging, but haven't yet reviewed the codebase with that thought in mind.

@white238
Copy link
Member

white238 commented Dec 1, 2020

Serac just noticed this change. This is a change in behavior in this commit: 8fb1aaa

I would like this able to be changed back with a quiet and/or verbose option. It is hard to track down differences in builds w/o running the whole build again.

@adrienbernede
Copy link
Member

adrienbernede commented Dec 1, 2020

A more efficient strategy for debugging would be to directly relaunch the command as printed in the log, but remove the --quiet and possibly pass -v to spack, that way, one does not have to go through the preliminary stages (spack checkout, spack spec, etc).
I guess you are still interested in a --verbose flag for users not aware of the plethora of options in Spack ;)

@white238
Copy link
Member

white238 commented Dec 1, 2020

A more efficient strategy for debugging would be to directly relaunch the command as printed in the log, but remove the --quiet and possibly pass -v to spack, that way, one does not have to go through the preliminary stages (spack checkout, spack spec, etc).
I guess you are still interested in a --verbose flag for users not aware of the plethora of options in Spack ;)

Normally this would be fine (and what i do) but when we run TPL builds in docker containers, for example, I can't just restart the build because the docker container is reverted.

@adrienbernede
Copy link
Member

Fair point ;)

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

No branches or pull requests

3 participants