Log hostname at startup

This commit is contained in:
Mike Dilger 2024-04-09 17:19:30 +12:00
parent 1e34a20108
commit 77caad1a7d

View File

@ -62,6 +62,9 @@ async fn main() -> Result<(), Error> {
log::debug!(target: "Server", "Loaded config file.");
// Log host name
log::info!(target: "Server", "HOSTNAME = {}", config.hostname);
// Setup store
let store = Store::new(&config)?;
let _ = GLOBALS.store.set(store);