Actions
Bug #12978
closedforeman-debug -m 0 to collect all files
Difficulty:
Triaged:
Bugzilla link:
Pull request:
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*/var/log/katello-installer/katello-installer.log
2. unpack the generated archive
3. wc foreman-debug
Actual results:
3. shows empty logfile collected
Expected results:
the collected log file should be the same like original
Additional info:
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
Updated by Pavel Moravec over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 51f005e139c09fdd37273ac408dc21a176431cda.
Updated by Dominic Cleal over 8 years ago
- Assignee set to Pavel Moravec
- Translation missing: en.field_release set to 71
Actions