[Bug 1472834] Re: logrotate does not use .xz extension for xz-compressed logs

2016-02-21 Thread Anthony Fok
If I am reading the logrotate 3.8.7 source code correctly, there is no
mapping table between compresscmd and compressext, and a search for
"xz", "bz" and "lzma" returns no result either.

Indeed, the only compression program that logrotate 3.8.7 knows about is
gzip, and if compressext isn't defined in the config files, the default
COMPRESS_EXT ".gz" is used instead.  There is currently no "smart logic"
to set the correct compressext automatically from compresscmd.

Perhaps this bug is best reported at logrotate's new home on GitHub at
https://github.com/logrotate/logrotate.  AFAICT, the bug still exists in
the latest logrotate 3.9.2.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1472834

Title:
  logrotate does not use .xz extension for xz-compressed logs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1472834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1472834] Re: logrotate does not use .xz extension for xz-compressed logs

2016-02-21 Thread Anthony Fok
** Changed in: logrotate (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1472834

Title:
  logrotate does not use .xz extension for xz-compressed logs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1472834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs