Skip to content
Unverified Commit f7838db5 authored by Michal Kucharczyk's avatar Michal Kucharczyk Committed by GitHub
Browse files

`basic-authorship`: debug level is now less spammy (#6768)

The `debug` level in `sc-basic-authorship` is now less spammy.
Previously it was outputing logs per individual transactions. It was
quite hard to follow the logs (and also generates unneeded traffic in
grafana).

Now `debug` level only show some internal details, without spamming
output with per-transaction logs. They were moved to `trace` level.

I also added the `EndProposingReason` to the summary INFO message. This
allows us to know what was the block limit (which is very useful for
debugging).

Example:
```
🎁

 Prepared block for proposing at 64 (1186 ms) hash: 0x4b5386c13c507d0dbab319ac054cc1bcfa08311e184452221ad07f12ecc6091c; parent_hash: 0x157c…ca5e; end: HitBlockWeightLimit; extrinsics_count: 7032; 
```

---------

Co-authored-by: default avatarGitHub Action <[email protected]>
parent f31c70aa
Pipeline #508327 waiting for manual action with stages
in 1 hour, 30 minutes, and 15 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment