El 2012-06-28 15:49, Fabián Bonetti escribió:
On Thu, 28 Jun 2012 15:29:25 +0200
Maykel Franco Hernández <may...@maykel.sytes.net> wrote:


Hola

proba con este parámetro

cambia este
size 1024M

por este
size=+1122304k


Saludos



Gracias por contestar. Lo he cambiado:

[root@toone logrotate.d]# cat web
/tmp/web-proxy.log {
    rotate 365
    daily
    missingok
    notifempty
    compress
    size=+1122304k
    create 640 apache apache
}




root@server logrotate.d]# logrotate -d /etc/logrotate.d/web
reading config file /etc/logrotate.d/web

Handling 1 logs

rotating pattern: /tmp/web-proxy.log  after 1 days (365 rotations)
empty log files are not rotated, only log files >= 1149239296 bytes are rotated, old logs are removed
considering log /tmp/web-proxy.log
  log does not need rotating


No entiendo por qué no lo rota, la regla se cumple....


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/539323e723e073bc9cefd04d14eec...@maykel.sytes.net

Responder a