Skip to content

Commit

Permalink
And some more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-grz committed Jan 23, 2025
1 parent 3ecda25 commit 2362dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/telio-sockets/src/protector/apple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ impl Protector for NativeProtector {
fn set_tunnel_interface(&self, interface: u64) {
*self.tunnel_interface.write() = Some(interface);

telio_log_debug!("Setting tunnel interface to {}", interface);
if let Some(ref sw) = self.socket_watcher {
let mut socks = sw.sockets.lock();
socks.tunnel_interface = Some(interface);
Expand Down
1 change: 1 addition & 0 deletions crates/telio-sockets/src/socket_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ struct SocketGuard {

impl Drop for SocketGuard {
fn drop(&mut self) {
telio_log_debug!("Cleaning up protector");
self.protector.clean(self.socket)
}
}
Expand Down

0 comments on commit 2362dc5

Please sign in to comment.