node: Add commit SHA-1 to log
This commit is contained in:
parent
b4c3bee39d
commit
1455810d57
|
|
@ -4,6 +4,7 @@ license = "MIT OR Apache-2.0"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
|
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
build = "../build.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test = ["radicle/test", "radicle-crypto/test", "radicle-crypto/cyphernet", "qcheck", "snapbox"]
|
test = ["radicle/test", "radicle-crypto/test", "radicle-crypto/cyphernet", "qcheck", "snapbox"]
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,7 @@ fn execute() -> anyhow::Result<()> {
|
||||||
logger::init(log::Level::Debug)?;
|
logger::init(log::Level::Debug)?;
|
||||||
|
|
||||||
log::info!(target: "node", "Starting node..");
|
log::info!(target: "node", "Starting node..");
|
||||||
|
log::info!(target: "node", "Version {} ({})", env!("CARGO_PKG_VERSION"), env!("GIT_HEAD"));
|
||||||
|
|
||||||
let options = Options::from_env()?;
|
let options = Options::from_env()?;
|
||||||
let home = profile::home()?;
|
let home = profile::home()?;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue