pub struct AccessLogsConfig {
pub enabled: Option<bool>,
pub disable_listener_logs: Option<bool>,
pub type: Option<LogSinkType>,
pub path: Option<String>,
pub json_format: Option<String>,
pub text_format: Option<String>,
}
Expand description
AccessLogsConfig contains the associated default settings for all Envoy instances within the datacenter or partition
Fields§
§enabled: Option<bool>
Enabled turns off all access logging
disable_listener_logs: Option<bool>
DisableListenerLogs turns off just listener logs for connections rejected by Envoy because they don’t have a matching listener filter.
type: Option<LogSinkType>
Type selects the output for logs: “file”, “stderr”. “stdout”
path: Option<String>
Path is the output file to write logs
json_format: Option<String>
The presence of one format string or the other implies the access log string encoding. Defining Both is invalid.
text_format: Option<String>
Trait Implementations§
Source§impl Clone for AccessLogsConfig
impl Clone for AccessLogsConfig
Source§fn clone(&self) -> AccessLogsConfig
fn clone(&self) -> AccessLogsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AccessLogsConfig
impl Debug for AccessLogsConfig
Source§impl Default for AccessLogsConfig
impl Default for AccessLogsConfig
Source§fn default() -> AccessLogsConfig
fn default() -> AccessLogsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessLogsConfig
impl<'de> Deserialize<'de> for AccessLogsConfig
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 AccessLogsConfig
impl RefUnwindSafe for AccessLogsConfig
impl Send for AccessLogsConfig
impl Sync for AccessLogsConfig
impl Unpin for AccessLogsConfig
impl UnwindSafe for AccessLogsConfig
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