Bug #2907
closed
- Subject changed from Update loggign setup in the README to Add log dir default value and update loggign setup in the README
when there is no log_dir set user is getting the following error:
$hammer
/usr/share/ruby/fileutils.rb:1544:in `path': no implicit conversion of nil into String (TypeError)
from /usr/share/ruby/fileutils.rb:1544:in `block in fu_list'
from /usr/share/ruby/fileutils.rb:1544:in `map'
from /usr/share/ruby/fileutils.rb:1544:in `fu_list'
from /usr/share/ruby/fileutils.rb:199:in `mkdir_p'
from /usr/local/share/gems/gems/hammer_cli-0.0.1/lib/hammer_cli/logger.rb:24:in `<module:Logger>'
from /usr/local/share/gems/gems/hammer_cli-0.0.1/lib/hammer_cli/logger.rb:5:in `<module:HammerCLI>'
from /usr/local/share/gems/gems/hammer_cli-0.0.1/lib/hammer_cli/logger.rb:4:in `<top (required)>'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:51:in `require'
set default to /var/log/foreman/ or ~/.foreman/log
- Status changed from New to Assigned
- Assignee set to Martin Bacovsky
- Target version set to 1.3.0
- Status changed from Assigned to Resolved
- Project changed from Foreman to Hammer CLI
- Category deleted (
44)
Also available in: Atom
PDF