From 7549ac0441fe798a870aeb52aad9c395f9d9a894 Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Sun, 2 Nov 2025 13:04:59 -0700 Subject: [PATCH] chore(scripts): tee run logs to file --- scripts/run/engine-postgres.sh | 2 +- scripts/run/engine-rocksdb.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/run/engine-postgres.sh b/scripts/run/engine-postgres.sh index f93511125d..054cd02841 100755 --- a/scripts/run/engine-postgres.sh +++ b/scripts/run/engine-postgres.sh @@ -32,4 +32,4 @@ cd "${REPO_ROOT}" RIVET__POSTGRES__URL=postgres://postgres:postgres@localhost:5432/postgres \ RUST_LOG=debug \ -cargo run --bin rivet-engine -- start "$@" +cargo run --bin rivet-engine -- start "$@" | tee /tmp/rivet-engine.log diff --git a/scripts/run/engine-rocksdb.sh b/scripts/run/engine-rocksdb.sh index c2897ff140..ebe2725590 100755 --- a/scripts/run/engine-rocksdb.sh +++ b/scripts/run/engine-rocksdb.sh @@ -7,4 +7,5 @@ REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)" cd "${REPO_ROOT}" RUST_LOG="${RUST_LOG:-debug}" \ -cargo run --bin rivet-engine -- start "$@" +cargo run --bin rivet-engine -- start "$@" | tee /tmp/rivet-engine.log +