pub struct Log {
pub level: String,
pub keylog: bool,
}Expand description
[log] — logging settings.
RUST_LOG takes precedence over Log::level when set, so an operator can
raise verbosity without editing the config file.
Fields§
§level: StringA tracing_subscriber filter directive, e.g. "info" or
"volto=debug,quinn=info".
keylog: boolWrite TLS secrets to the file named by SSLKEYLOGFILE.
This is the debugging tool that makes the wire readable: with the secrets, Wireshark decrypts the QUIC and HTTP/3 frames of a real Surge session, so “handshake fine, nothing flows” can be diagnosed at frame level. It also hands anyone who can read that file the plaintext of every session, so it is off by default and warned about when on.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Log
impl<'de> Deserialize<'de> for Log
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnsafeUnpin for Log
impl UnwindSafe for Log
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more