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

Leading spaces from without_time #3245

Open
zsaw opened this issue Mar 29, 2025 · 0 comments
Open

Leading spaces from without_time #3245

zsaw opened this issue Mar 29, 2025 · 0 comments

Comments

@zsaw
Copy link

zsaw commented Mar 29, 2025

Bug Report

Version

├── tracing v0.1.41
│   ├── tracing-attributes v0.1.28 (proc-macro)
│   └── tracing-core v0.1.33
└── tracing-subscriber v0.3.19
    ├── tracing-core v0.1.33 (*)
    └── tracing-log v0.2.0
        └── tracing-core v0.1.33 (*)

Platform

Darwin MacBook-Air.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8103 arm64

Description

I tried this code:

#[tokio::main]
async fn main() {
    println!("hello");
    tracing_subscriber::fmt().without_time().init();
    tracing::info!("hello");
}

I expected to see this happen:

hello
INFO demo: hello

Instead, this happened:

hello
 INFO demo: hello
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

No branches or pull requests

1 participant