Chef

Reclarify existing log messages levels, give more information in INFO mode.

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 0.7.8
  • Fix Version/s: 0.10.0
  • Component/s: Chef Solo
  • Labels:
    None
  • Environment:

    ubuntu 8.0.4

  • Triage Status:
    Triaged

Description

It would be helpful for creating cookbooks if there was a intermediary log level between INFO and DEBUG. For my simple recipe, the output jumps from 2 lines with info to 1185 lines with debug.

root@domU-12-31-39-01-A8-93:~# sudo chef-solo -j ~/test.json -r http://127.0.0.1/recipes.tar.gz --log_level warn | wc -l
0
root@domU-12-31-39-01-A8-93:~# sudo chef-solo -j ~/test.json -r http://127.0.0.1/recipes.tar.gz --log_level info | wc -l
2
root@domU-12-31-39-01-A8-93:~# sudo chef-solo -j ~/test.json -r http://127.0.0.1/recipes.tar.gz --log_level debug | wc -l
1185

Activity

Hide
AJ Christensen added a comment - 20/Aug/09 12:03 AM

I expect what we actually want here is to move some of the debugging upto info

Show
AJ Christensen added a comment - 20/Aug/09 12:03 AM I expect what we actually want here is to move some of the debugging upto info
Hide
AJ Christensen added a comment - 04/Sep/09 2:40 AM

0.7.12

Show
AJ Christensen added a comment - 04/Sep/09 2:40 AM 0.7.12
Hide
Daniel DeLeo added a comment - 30/Apr/11 12:16 AM

Adam fixed this in 0.10. Not sure what ticket that was tracked under. But it's done.

Show
Daniel DeLeo added a comment - 30/Apr/11 12:16 AM Adam fixed this in 0.10. Not sure what ticket that was tracked under. But it's done.

People

Vote (0)
Watch (1)

Dates

  • Created:
    13/Jul/09 1:35 AM
    Updated:
    30/Apr/11 12:16 AM
    Resolved:
    30/Apr/11 12:16 AM