You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect this to start logging to /tmp/logfile and to automatically rotate the log.
Actual Result:
Traceback (most recent call last):
6: from /opt/chefdk/embedded/bin/irb:11:in `<main>'
5: from (irb):7
4: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-3.0.1/lib/mixlib/log.rb:83:in `init'
3: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-3.0.1/lib/mixlib/log.rb:177:in `logger_for'
2: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-3.0.1/lib/mixlib/log.rb:177:in `new'
1: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-3.0.1/lib/mixlib/log/logger.rb:35:in `initialize'
ArgumentError (wrong number of arguments (given 2, expected 1))
The text was updated successfully, but these errors were encountered:
Version:
v3.0.1
Environment:
RHEL 6
ChefDK v4.0.60
Scenario:
Trying to leverage the built-in log rotation
Steps to Reproduce:
Expected Result:
I would expect this to start logging to
/tmp/logfile
and to automatically rotate the log.Actual Result:
The text was updated successfully, but these errors were encountered: