-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Upgrade env_logger #4951
Upgrade env_logger #4951
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
We've unfortunately gotten bitten in the past because of prerelease versions. I think Cargo will consider it semver compatible with 0.5.0 for example? (which sometimes has API breaking changes). @KodrAus out of curiosity, do you know if 0.5.0 will happen soon? |
I can switch it to an equality constraint, but a full 0.5.0 release would be best, yeah. |
👍 |
Thanks @sfackler! Yep, I'm pushing out
I spiked out an upgrade that tried to maintain the cargo command's own colour choice here. If you ignore the fact that it leaks it's a lot of machinery for coloured output, but if folks want coloured logs from cargo using The simpler approach would be something like: env_logger::Builder::from_env(env_logger::Env::default())
.write_style(env_logger::WriteStyle::Never)
.init(); So that we never write coloured logs. |
Looks like a new version is out! @sfackler want to update this PR? |
Thanks @KodrAus! |
0.4 depends on log 0.3 and so misses out on module names.
Updated! |
📌 Commit a540a39 has been approved by |
⌛ Testing commit a540a39 with merge 3eea5fe827f506931f6303e853219bdd47f6b7b9... |
💔 Test failed - status-travis |
@bors: retry
…On Wed, Jan 17, 2018 at 12:38 PM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/cargo/builds/329986072?utm_source=github_status&utm_medium=notification>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4951 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95NPh_dH-gKjvqob--iZTX2dBHqKgks5tLj4NgaJpZM4RgZeb>
.
|
⌛ Testing commit a540a39 with merge c6cf5f0218b9d54d63d2eb4a6c158d72eedc25ab... |
💔 Test failed - status-travis |
@bors: retry |
⌛ Testing commit a540a39 with merge 388e0c476774606596d434eda8b3b2705332cc3d... |
💥 Test timed out |
@bors: retry |
Upgrade env_logger 0.4 depends on log 0.3 and so misses out on module names.
☀️ Test successful - status-appveyor, status-travis |
0.4 depends on log 0.3 and so misses out on module names.