logrotate con bzip2

Editar /etc/logrotate.conf, descomentar compress y añadir los siguientes parametros:

compresscmd /usr/bin/bzip2
compressoptions –best
compressext .bz2

VN:F [1.9.1_1087]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.1_1087]
Rating: 0 (from 0 votes)

Tags:

3 Responses to “logrotate con bzip2”

  1. Gufete says:

    Según la página de manual de bzip2

    And –best merely selects the default behaviour

    Luego, te sobra lo de “compressoptions –best”, por defecto comprime así.

    Que me gusta :)

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
  2. Jodio, lo acabo de consultar y tienes razón. :S

    VN:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
  3. Gufete says:

    Es que aún me quedan algunos superpoderes :)

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)

Leave a Reply