-
Notifications
You must be signed in to change notification settings - Fork 710
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
Replace env_logger with sp_tracing #5065
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's ok
bridges/snowbridge/pallets/outbound-queue/merkle-tree/Cargo.toml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If env_logger
is not used anymore anywhere, you should also remove it from the workspace Cargo.toml
file.
@bkchr No, it is used in 4 non-test files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you extend this outside of testing too? Replace env_logger completely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments
It's inside
Here is ok to replace with
We can try to use |
cc @serban300 ^ |
Try |
It is used in parity-bridges-common: https://github.com/paritytech/parity-bridges-common/blob/63ac22d90462d14a1f1e9c36427473fa2fa57cb1/substrate-relay/src/cli/mod.rs#L93 I'm not sure what
The time format is probably not super important. |
Co-authored-by: Adrian Catangiu <adrian@parity.io>
@Safrout1 please fix these remaining issues |
…trate/utils/frame/omni-bencher/src/main.rs
Hello, I think the only required check that fails is but whenever I run Should I run a different command, the log in the job is also not helpful, WDYT? |
Can you also try |
Look at that please as well https://github.com/paritytech/polkadot-sdk/actions/runs/10166554064/job/28141652578?pr=5065 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @Safrout1, thank you
776e957
@Safrout1 could you provide your DOT address in the PR description? |
* master: (51 commits) Remove unused feature gated code from the minimal template (#5237) make polkadot-parachain startup errors pretty (#5214) Coretime auto-renew (#4424) network/strategy: Backoff and ban overloaded peers to avoid submitting the same request multiple times (#5029) Fix frame crate usage doc (#5222) beefy: Tolerate pruned state on runtime API call (#5197) rpc: Enable ChainSpec for polkadot-parachain (#5205) Add an adapter for configuring AssetExchanger (#5130) Replace env_logger with sp_tracing (#5065) Adjust sync templates flow to use new release branch (#5182) litep2p/discovery: Publish authority records with external addresses only (#5176) Run UI tests in CI for some other crates (#5167) Remove `pallet::getter` usage from the pallet-balances (#4967) pallet-timestamp: `UnixTime::now` implementation logs error only if called at genesis (#5055) [CI] Cache try-runtime check (#5179) [Backport] version bumps and the prdocs reordering from stable2407 (#5178) [subsystem-benchmark] Update availability-distribution-regression-bench baseline after recent subsystem changes (#5180) Remove pallet::getter usage from proxy (#4963) Remove pallet::getter macro usage from pallet-election-provider-multi-phase (#4487) Review-bot@2.6.0 (#5177) ...
@AndreiEres done, but would you like to explain why? |
I'll try to tip you for your job |
/tip small |
The referendum has appeared on Polkassembly. |
This PR replaces env_logger with sp_tracing because of an issue with env_logger and gum #4660
polkadot address: 1upUS3E5th6CphPJg2kjKHY2gDXex6iB6J6V64qmCV7Jw7s