Skip to content

Commit

Permalink
disable ansi codes in logging
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Dec 2, 2023
1 parent 9a5185a commit 8904234
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.20.1-rc3]
### Changed
- Disabled ANSI codes in logging.

## [0.20.1-rc2]
### Changed
- Adjusted logging in block cache construction.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lading/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lading"
version = "0.20.1-rc2"
version = "0.20.1-rc3"
authors = ["Brian L. Troutwine <[email protected]>", "George Hahn <[email protected]"]
edition = "2021"
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions lading/src/bin/lading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ fn run_extra_cmds(cmds: ExtraCommands) {
fn main() {
tracing_subscriber::fmt()
.with_span_events(FmtSpan::FULL)
.with_ansi(false)
.finish()
.init();

Expand Down
1 change: 1 addition & 0 deletions lading_payload/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ impl Cache {
///
/// Function will return an error if `block_byte_sizes` is empty or if a member
/// of `block_byte_sizes` is large than `total_bytes`.
#[allow(clippy::too_many_lines)]
pub fn fixed<R>(
mut rng: &mut R,
total_bytes: NonZeroU32,
Expand Down

0 comments on commit 8904234

Please sign in to comment.