From a4fbf596e6422eb67f271779eb5c3e867a242964 Mon Sep 17 00:00:00 2001 From: jon Date: Sun, 14 Sep 2025 12:04:00 +0800 Subject: [PATCH] add startup logo (#528) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add startup logo * Replace logo ASCII art in main.rs --------- Co-authored-by: houseme Co-authored-by: 安正超 --- rustfs/src/main.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/rustfs/src/main.rs b/rustfs/src/main.rs index 9ec274c90..434c61d45 100644 --- a/rustfs/src/main.rs +++ b/rustfs/src/main.rs @@ -74,6 +74,14 @@ use tracing::{debug, error, info, instrument, warn}; #[global_allocator] static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; +const LOGO: &str = r#" + +░█▀▄░█░█░█▀▀░▀█▀░█▀▀░█▀▀ +░█▀▄░█░█░▀▀█░░█░░█▀▀░▀▀█ +░▀░▀░▀▀▀░▀▀▀░░▀░░▀░░░▀▀▀ + +"#; + #[instrument] fn print_server_info() { let current_year = chrono::Utc::now().year(); @@ -97,6 +105,9 @@ async fn main() -> Result<()> { // Initialize Observability let (_logger, guard) = init_obs(Some(opt.clone().obs_endpoint)).await; + // print startup logo + info!("{}", LOGO); + // Store in global storage set_global_guard(guard).map_err(Error::other)?;