mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Switch mod_fail2ban log messages to warning level
This commit is contained in:
parent
a2b2a27bb6
commit
ddca2e8b4a
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ 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",
|
||||
?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)}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue