Print something as early as possible to the logs so fly.io sees it

This commit is contained in:
Jack Grigg 2023-11-28 02:44:41 +00:00
parent e62630edd6
commit e3a4e4c815
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ mod util;
#[tokio::main]
async fn main() {
println!("Printing something as early as possible so fly.io sees it.");
// Filter traces based on the RUST_LOG env var, or, if it's not set,
// default to show INFO-level details.
let filter = std::env::var("RUST_LOG").unwrap_or_else(|_| {