Skip to content

Commit 9cef4fd

Browse files
committed
revert to pretty log and remove actor type
1 parent d639bee commit 9cef4fd

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pulsebeam-runtime/src/actor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,9 @@ where
260260

261261
let monitor = A::monitor();
262262
let actor_id = a.meta().clone();
263-
let actor_type = type_name_of_val(&a);
264263
let runnable = tracing::Instrument::instrument(
265264
monitor.instrument(run(a, ctx)),
266-
tracing::span!(tracing::Level::INFO, "run", %actor_id, %actor_type),
265+
tracing::span!(tracing::Level::INFO, "run", %actor_id),
267266
);
268267
let join = tokio::spawn(runnable);
269268
let abort_handle = join.abort_handle();

pulsebeam/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pulsebeam"
3-
version = "0.2.4"
3+
version = "0.2.3"
44

55
edition.workspace = true
66
homepage.workspace = true

pulsebeam/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ fn main() {
2020
tracing_subscriber::fmt()
2121
.with_env_filter(env_filter)
2222
.with_target(true)
23-
.with_ansi(false)
24-
.compact()
23+
.with_ansi(true)
24+
.pretty()
2525
.init();
2626

2727
let workers = std::thread::available_parallelism().map_or(1, NonZeroUsize::get);

0 commit comments

Comments
 (0)