Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2243 Cannot e-mail rotated file before zipping

1.220
closed
Jamie Cameron
5
2005-09-12
2005-09-12
Dominic Wilson
No

Hi,

I'm afraid I'm not technical enough to know whether this
is a problem with Logrotate itself or the webmin interface
however, here is the problem description.

Set up a logrotate job.
Use the "delay compression till next cycle" option
Use the "email log file before deleting: Yes" option
Use the "Log file to e-mail, Newest" option.

This should mean that you get an uncompressed logfile,
say logfile.log.1 e-mailed to whatever address you
specify. Unfortunately the job appears to be looking for a
logfile.log.1.gz where it attaches to the e-mail and
therefore results in an error.

Many thanks,

Dominic

Discussion

  • Jamie Cameron
    Jamie Cameron
    2005-09-12

    Logged In: YES
    user_id=129364

    This is really a bug in logrotate - Webmin just sets the
    logrotate configuration. You should try upgrading logrotate,
    or contacting it's author ..

     
  • Jamie Cameron
    Jamie Cameron
    2005-09-12

    • status: open --> closed