Skip to content

Commit

Permalink
Remove additional context from container log output
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Jun 7, 2024
1 parent 6d44282 commit c415662
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/soroban-cli/src/commands/network/container/logs.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use chrono::offset::Local;
use futures_util::TryStreamExt;

use crate::commands::network::container::shared::{
Expand Down Expand Up @@ -39,12 +38,7 @@ impl Cmd {
);

while let Some(log) = logs_stream.try_next().await? {
print!(
"{}: {} {}",
container_name,
Local::now().format("%Y-%m-%d %H:%M:%S"),
log
);
print!("{log}");
}
Ok(())
}
Expand Down

0 comments on commit c415662

Please sign in to comment.