Skip to content

Commit be29865

Browse files
author
Jacob Halsey
committed
Log version number
1 parent 94a934f commit be29865

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wsl2-dns-agent"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2021"
55
license = "GPL-3.0"
66
description = "An agent that automatically patches your WSL2 DNS configuration for users of Cisco AnyConnect (or similar VPNs)"

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ fn main() {
4242
let log_file = File::create(&log_path).unwrap();
4343
WriteLogger::init(LevelFilter::Info, simplelog::Config::default(), log_file).unwrap();
4444

45+
log::info!("{} version: {}", APP_NAME, env!("CARGO_PKG_VERSION"));
46+
4547
// Load config file
4648
let config = config::Config::load();
4749
log::info!("Loaded config: {:?}", config);

0 commit comments

Comments
 (0)