node: Add commit SHA-1 to log

This commit is contained in:
Adam Szkoda 2023-03-21 12:55:07 +01:00 committed by Alexis Sellier
parent b4c3bee39d
commit 1455810d57
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ license = "MIT OR Apache-2.0"
version = "0.2.0"
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
edition = "2021"
build = "../build.rs"
[features]
test = ["radicle/test", "radicle-crypto/test", "radicle-crypto/cyphernet", "qcheck", "snapbox"]

View File

@ -125,6 +125,7 @@ fn execute() -> anyhow::Result<()> {
logger::init(log::Level::Debug)?;
log::info!(target: "node", "Starting node..");
log::info!(target: "node", "Version {} ({})", env!("CARGO_PKG_VERSION"), env!("GIT_HEAD"));
let options = Options::from_env()?;
let home = profile::home()?;