use SYSTEM as log prefix

This commit is contained in:
Y. T. Chung
2015-12-11 23:35:07 +08:00
parent a6d17d1d9e
commit ebc8bb35bc

View File

@@ -221,7 +221,7 @@ impl TcpRelayLocal {
}
}
info!("CONNECT {} local -> remote is closing", addr_cloned);
info!("SYSTEM Connect {} local -> remote is closing", addr_cloned);
let _ = encrypt_stream.get_ref().shutdown(Shutdown::Both);
let _ = local_reader.get_ref().shutdown(Shutdown::Both);
@@ -283,7 +283,7 @@ impl TcpRelayLocal {
let _ = local_writer.flush();
info!("CONNECT {} local <- remote is closing", addr);
info!("SYSTEM Connect {} local <- remote is closing", addr);
let _ = decrypt_stream.get_mut().shutdown(Shutdown::Both);
let _ = local_writer.shutdown(Shutdown::Both);