Skip to content

Commit

Permalink
Feat: Display Apollo Router version on startup.
Browse files Browse the repository at this point in the history
This commit displays the Apollo Router version as an INFO when the router starts.
  • Loading branch information
o0Ignition0o committed Feb 23, 2022
1 parent 96faaa7 commit f1df3e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apollo-router/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ async fn rt_main() -> Result<()> {

GLOBAL_ENV_FILTER.set(env_filter).unwrap();

tracing::info!("Apollo Router version {}", env!("CARGO_PKG_VERSION"));

let current_directory = std::env::current_dir()?;

let configuration = opt
Expand Down

0 comments on commit f1df3e8

Please sign in to comment.