Skip to content

Commit 28bd50a

Browse files
feat: rotate logs daily
1 parent b7e9988 commit 28bd50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
2424
let env_vars = env::EnvVars::parse().process()?;
2525

2626
// Initialize logger
27-
let (append_writer, _guard) = tracing_appender::non_blocking(tracing_appender::rolling::never(
27+
let (append_writer, _guard) = tracing_appender::non_blocking(tracing_appender::rolling::daily(
2828
env_vars
2929
.log_location
3030
.parent()

0 commit comments

Comments
 (0)