Skip to content

Commit

Permalink
remove sensitive info from logs (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Wójcik <[email protected]>
  • Loading branch information
wojcik91 and Maciej Wójcik authored Feb 1, 2024
1 parent 33704e3 commit a118bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wgapi_windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ impl WireguardInterfaceApi for WireguardApiWindows {
wireguard_configuration.push_str(allowed_ips.as_str());
}

info!("Prepared WireGuard configuration: {wireguard_configuration}",);
file.write_all(wireguard_configuration.as_bytes())?;
info!("WireGuard configuration written to file: {file_path}",);

// Check for existing service and remove it
let output = Command::new("wg")
Expand Down

0 comments on commit a118bb7

Please sign in to comment.