Skip to content

Commit

Permalink
Update log levels to error in config files
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Oct 15, 2024
1 parent 0f20037 commit 5d302c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions imageroot/templates/config.yaml.local
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion imageroot/templates/crowdsec-firewall-bouncer.yaml.local
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion imageroot/templates/email.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <group_wait> has expired, eg "10"
Expand Down

0 comments on commit 5d302c9

Please sign in to comment.