Skip to content

Commit

Permalink
feat(dgw): log version on start (#414)
Browse files Browse the repository at this point in the history
Useful when troubleshooting issues using user’s logs.
  • Loading branch information
CBenoit authored Apr 26, 2023
1 parent 354e097 commit 7391114
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devolutions-gateway/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ impl GatewayService {
let logger_guard =
log::init(&conf.log_file, conf.log_directive.as_deref()).context("failed to setup logger")?;

info!(version = env!("CARGO_PKG_VERSION"));

let conf_file = conf_handle.get_conf_file();
trace!(?conf_file);

Expand Down

0 comments on commit 7391114

Please sign in to comment.