Skip to content

josecelano/tracing-test-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracing Test Bug

This repo was created to reproduce a bug in the tracing-test crate.

When you run the application, you should see the following output:

$ cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.02s
     Running `target/debug/tracing-test-bug`
2024-12-20T09:56:43.725466Z  INFO tracing_test_bug: level 1
2024-12-20T09:56:43.725551Z  INFO tracing_test_bug: level 2
2024-12-20T09:56:43.725650Z  INFO tracing_test_bug: level 3

The application has three levels of nested threads.

When you run the tests, logs are apparently only captured in the same thread.

Links

About

Repo to reproduce a bug in the tracing-test crate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages