Difference between revisions of "Configuration logrotate for fail2ban"
⧼vector-jumptonavigation⧽
⧼vector-jumptosearch⧽
Line 1: | Line 1: | ||
+ | <span data-link_translate_de_title="Konfiguration Logrotate für fail2ban" data-link_translate_de_url="Konfiguration+Logrotate+f%C3%BCr+fail2ban"></span>[[:de:Konfiguration Logrotate für fail2ban]][[de:Konfiguration Logrotate für fail2ban]] | ||
<span data-link_translate_nl_title="Configuratie logrotate voor fail2ban" data-link_translate_nl_url="Configuratie+logrotate+voor+fail2ban"></span>[[:nl:Configuratie logrotate voor fail2ban]][[nl:Configuratie logrotate voor fail2ban]] | <span data-link_translate_nl_title="Configuratie logrotate voor fail2ban" data-link_translate_nl_url="Configuratie+logrotate+voor+fail2ban"></span>[[:nl:Configuratie logrotate voor fail2ban]][[nl:Configuratie logrotate voor fail2ban]] | ||
<span data-link_translate_it_title="Configurazione logrotate per fail2ban" data-link_translate_it_url="Configurazione+logrotate+per+fail2ban"></span>[[:it:Configurazione logrotate per fail2ban]][[it:Configurazione logrotate per fail2ban]] | <span data-link_translate_it_title="Configurazione logrotate per fail2ban" data-link_translate_it_url="Configurazione+logrotate+per+fail2ban"></span>[[:it:Configurazione logrotate per fail2ban]][[it:Configurazione logrotate per fail2ban]] |
Revision as of 12:04, 27 December 2016
de:Konfiguration Logrotate für fail2ban
nl:Configuratie logrotate voor fail2ban
it:Configurazione logrotate per fail2ban
pt:Logrotate configuração para fail2ban
fr:Configuration logrotate pour fail2ban
This article has been created by an automatic translation software. You can view the article source here.
In order to limit the use of the file space | _. _. We will configure logrotate to limit this consumption. /var/log/fail1ban For that we will create the file | _. _. with the content below: _! _ | We can use the following command to force the rotation without waiting for the scheduled task execution
/etc/logrotate.d/fail2ban :
/var/log/fail2ban.log { rotate 7 missingok compress postrotate /usr/bin/fail2ban-client flushlogs 1>/dev/null || true endscript }
:
logrotate -vf /etc/logrotate.conf
Enable comment auto-refresher