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:
Actions