diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2018-09-19 19:33:33 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2018-09-19 19:33:33 +0300 |
commit | ddca2e8b4ad011cc7465e82db3dbb51a46689935 (patch) | |
tree | ec687a0fa1fc7dbd70053ac00b04837038dd8ec1 /src/mod_fail2ban.erl | |
parent | Resize SQL pool on configuration reload (diff) |
Switch mod_fail2ban log messages to warning level
Diffstat (limited to 'src/mod_fail2ban.erl')
-rw-r--r-- | src/mod_fail2ban.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_fail2ban.erl b/src/mod_fail2ban.erl index 3e6fec62f..0250392a3 100644 --- a/src/mod_fail2ban.erl +++ b/src/mod_fail2ban.erl @@ -168,8 +168,8 @@ log_and_disconnect(#{ip := {Addr, _}, lang := Lang} = State, Attempts, UnbanTS) "from this IP address (~s). The address " "will be unblocked at ~s UTC">>, Args = [Attempts, IP, UnbanDate], - ?INFO_MSG("Connection attempt from blacklisted IP ~s: ~s", - [IP, io_lib:fwrite(Format, Args)]), + ?WARNING_MSG("Connection attempt from blacklisted IP ~s: ~s", + [IP, io_lib:fwrite(Format, Args)]), Err = xmpp:serr_policy_violation({Format, Args}, Lang), {stop, ejabberd_c2s:send(State, Err)}. |