Project

General

Profile

Actions

Bug #12978

closed

foreman-debug -m 0 to collect all files

Added by Pavel Moravec over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-debug
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
foreman-debug should have an option to collect all logs. It already has option -m to limit number of lines per file collected, but -m0 means files are emtpy ("tail -n0" is called).

Please fix -m 0 to collect whole file, not its zero-length tail.

Version-Release number of selected component (if applicable):
foreman-debug-1.7.2.49-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. foreman-debug m 0
2. unpack the generated archive
3. wc foreman-debug
*/var/log/katello-installer/katello-installer.log

Actual results:
3. shows empty logfile collected

Expected results:
the collected log file should be the same like original

Additional info:

Actions #1

Updated by Dominic Cleal over 8 years ago

  • Category set to foreman-debug
Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3021 added
Actions #3

Updated by Pavel Moravec over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • Assignee set to Pavel Moravec
  • translation missing: en.field_release set to 71
Actions

Also available in: Atom PDF