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

Setup logging before plugins are loaded. #1158

Closed

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Feb 24, 2015

This lifts logging options to the bootstrap stage in order to be able
to configure logging before plugins are loaded. The logging setup is
lifted out from GoalRunner to a top-level function in the logging
package and tests are added for logging configuration.

Additionally, bootstrap option parsing is fixed to handle short flags
since logging uses a few of these.

https://rbcommons.com/s/twitter/r/1820/

This lifts logging options to the bootstrap stage in order to be able
to configure logging before plugins are loaded.  The logging setup is
lifted out from GoalRunner to a top-level function in the logging
package and tests are added for logging configuration.

Additionally, bootstrap option parsing is fixed to handle short flags
since logging uses a few of these.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 68.19% when pulling 990fb24 on jsirois:jsirois/logging/early_setup into a7cd9db on pantsbuild:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 68.19% when pulling 50fed5f on jsirois:jsirois/logging/early_setup into a7cd9db on pantsbuild:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 68.19% when pulling 50fed5f on jsirois:jsirois/logging/early_setup into a7cd9db on pantsbuild:master.

Document the difference between bootstrap and global options.
Explicitly enable the 'WARN' alias for logging at 'WARNING' level.
Fix a bug where passthrough options with the same name as bootstrap
options would be bootstrapped.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 68.54% when pulling 68b70ca on jsirois:jsirois/logging/early_setup into 9ff5424 on pantsbuild:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 68.54% when pulling 68b70ca on jsirois:jsirois/logging/early_setup into 9ff5424 on pantsbuild:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.14%) to 68.61% when pulling 52306b8 on jsirois:jsirois/logging/early_setup into 9ff5424 on pantsbuild:master.

@jsirois
Copy link
Member Author

jsirois commented Feb 26, 2015

Submitted @ c0de6c4

@jsirois jsirois closed this Feb 26, 2015
@jsirois jsirois deleted the jsirois/logging/early_setup branch February 26, 2015 17:42
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