Bug #17749

foreman-debug archive files have confusing extension: .gz.txt

Added by Zach Huntington-Meath over 5 years ago. Updated about 4 years ago.

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


Cloned from
Certain log files are archived during a foreman-debug run end up as raw txt files in the debug collection but are named:


this .gz.txt is confusing to the user as it is hard to determine without actually examining the file .. is it TXT or a gzip archive?

If we are uncompressing these we should name them .txt and drop the '.gz'. If we leave them as archives, drop the .txt

Associated revisions

Revision 9b986c8d (diff)
Added by Anurag Patel about 5 years ago

Fixes #17749 - Remove confusing .gz.txt extension from logs

Currently .txt extension is appended to log files that are processed
by foreman-debug and added to the debug archive. This is confusing to
the user.

This PR gets rid of the .txt extension, and also removes .gz/.bz2/xz
extension from log files that have been uncompressed.


#1 Updated by Lukas Zapletal over 5 years ago

I mean, we should remove GZ, BZIP2 or XZ extensions from the filename instead appending TXT. That is much better.

For regular text files we should keep the filename as is.

#2 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by Anonymous about 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal about 5 years ago

  • Assignee changed from Lukas Zapletal to Anurag Patel

#5 Updated by Marek Hulán about 5 years ago

  • Legacy Backlogs Release (now unused) set to 240

Also available in: Atom PDF