Skip to content

Commit 5e3dd14

Browse files
committed
chore(scripts): tee run logs to file
1 parent cf3b3e3 commit 5e3dd14

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/run/engine-postgres.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ cd "${REPO_ROOT}"
3232

3333
RIVET__POSTGRES__URL=postgres://postgres:postgres@localhost:5432/postgres \
3434
RUST_LOG=debug \
35-
cargo run --bin rivet-engine -- start "$@"
35+
cargo run --bin rivet-engine -- start "$@" | tee /tmp/rivet-engine.log

scripts/run/engine-rocksdb.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
77
cd "${REPO_ROOT}"
88

99
RUST_LOG="${RUST_LOG:-debug}" \
10-
cargo run --bin rivet-engine -- start "$@"
10+
cargo run --bin rivet-engine -- start "$@" | tee /tmp/rivet-engine.log
11+

0 commit comments

Comments
 (0)