use namespaces

This commit is contained in:
nora 2024-08-29 01:10:59 +02:00
parent cbf00dc6ff
commit 4e9eb447db
9 changed files with 247 additions and 109 deletions

View file

@ -456,7 +456,7 @@ impl ChannelsState {
return Err(peer_error!("server tried to open shell"));
}
info!(channel = %our_channel, "Opening shell");
debug!(channel = %our_channel, "Opening shell");
ChannelRequest::Shell { want_reply }
}
"exec" => {

View file

@ -280,7 +280,7 @@ pub mod auth {
use cluelessh_format::{numbers, NameList};
use cluelessh_transport::{packet::Packet, peer_error, Result};
use tracing::{debug, info};
use tracing::debug;
pub struct ServerAuth {
has_failed: bool,
@ -363,7 +363,7 @@ pub mod auth {
let method_name = p.utf8_string()?;
if method_name != "none" {
info!(
debug!(
%username,
%service_name,
%method_name,

View file

@ -121,7 +121,7 @@ impl ServerConnection {
let reason_string = numbers::disconnect_reason_to_string(reason);
info!(%reason, %reason_string, %description, "Client disconnecting");
debug!(%reason, %reason_string, %description, "Client disconnecting");
return Err(SshStatus::Disconnect);
}