mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-15 05:03:14 +02:00
limit number of loglines, because jq-limit
This commit is contained in:
@@ -350,8 +350,8 @@ name = default
|
||||
logpath = /dev/null
|
||||
|
||||
# Number of log lines to include in the email
|
||||
# grepmax = 1000
|
||||
# grepopts = -m <grepmax>`
|
||||
grepmax = 200
|
||||
grepopts = -m <grepmax>`
|
||||
|
||||
// Write the action file
|
||||
err := os.WriteFile(actionFile, []byte(actionConfig), 0644)
|
||||
|
||||
Reference in New Issue
Block a user