From 5d302c90a3a9d74307c9685ad8981b6cda20ff9c Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Tue, 15 Oct 2024 10:43:34 +0200 Subject: [PATCH] Update log levels to error in config files --- imageroot/templates/config.yaml.local | 6 +++--- imageroot/templates/crowdsec-firewall-bouncer.yaml.local | 2 +- imageroot/templates/email.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/imageroot/templates/config.yaml.local b/imageroot/templates/config.yaml.local index 38fe2b9..81b3cb7 100644 --- a/imageroot/templates/config.yaml.local +++ b/imageroot/templates/config.yaml.local @@ -2,7 +2,7 @@ common: daemonize: false pid_dir: /var/run/ log_media: stdout - log_level: info + log_level: error log_dir: /var/log/ working_dir: . config_paths: @@ -22,7 +22,7 @@ plugin_config: cscli: output: human db_config: - log_level: info + log_level: error type: sqlite db_path: /var/lib/crowdsec/data/crowdsec.db flush: @@ -34,7 +34,7 @@ api: insecure_skip_verify: false credentials_path: /etc/crowdsec/local_api_credentials.yaml server: - log_level: info + log_level: error listen_uri: 127.0.0.1:{{api_port}} profiles_path: /etc/crowdsec/profiles.yaml trusted_ips: # IP ranges, or IPs which can have admin API access diff --git a/imageroot/templates/crowdsec-firewall-bouncer.yaml.local b/imageroot/templates/crowdsec-firewall-bouncer.yaml.local index 74b0012..9896ee0 100644 --- a/imageroot/templates/crowdsec-firewall-bouncer.yaml.local +++ b/imageroot/templates/crowdsec-firewall-bouncer.yaml.local @@ -3,7 +3,7 @@ pid_dir: /var/run/ update_frequency: 10s log_mode: stdout log_dir: /var/log/ -log_level: info +log_level: error log_compression: true log_max_size: 100 log_max_backups: 3 diff --git a/imageroot/templates/email.yaml b/imageroot/templates/email.yaml index e9373fe..100f953 100644 --- a/imageroot/templates/email.yaml +++ b/imageroot/templates/email.yaml @@ -2,7 +2,7 @@ type: email # Don't change name: email_default # Must match the registered plugin in the profile # One of "trace", "debug", "info", "warn", "error", "off" -log_level: info +log_level: error # group_wait: # Time to wait collecting alerts before relaying a message to this plugin, eg "30s" # group_threshold: # Amount of alerts that triggers a message before has expired, eg "10"