diff --git a/ChangeLog b/ChangeLog index dc0b3faa..ca29ebfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -47,6 +47,8 @@ configuration before relying on it. - Log level INFO is now more verbose * Optionally can read log files starting from "head" or "tail". - See "logpath" option in jail.conf(5) man page. + * Can now set log encoding for files per jail. + - Default uses systemd locale. - New features: * [..c7ae460] Multiline failregex. Close gh-54 diff --git a/man/jail.conf.5 b/man/jail.conf.5 index 16b611f1..ef243a2d 100644 --- a/man/jail.conf.5 +++ b/man/jail.conf.5 @@ -135,6 +135,9 @@ Optional space separated option 'tail' can be added to the end of the path to ca Ensure syslog or the program that generates the log file isn't configured to compress repeated log messages to "\fI*last message repeated 5 time*s\fR" otherwise it will fail to detect. This is called \fIRepeatedMsgReduction\fR in rsyslog and should be \fIOff\fR. .TP +.B logencoding +encoding of log files used for decoding. Default value of "auto" uses current system locale. +.TP .B action action(s) from \fI/etc/fail2ban/action.d/\fR without the \fI.conf\fR/\fI.local\fR extension. Arguments can be passed to actions to override the default values from the [Init] section in the action file. Arguments are specified by: .RS