I've run chef for existing cookbook, however I can't run it correctly. I've got Chef Client failed without any error.
I think you have mixed up log_level option with logfile.
log_level
logfile
-l
-l debug
-L
-L DEBUG
DEBUG
The error might be present in the file at /home/centos/DEBUG.
/home/centos/DEBUG
I think you have mixed up
log_level
option withlogfile
.-l
:-l debug
, will setlog_level
to DEBUG for logging to standard output.-L
:-L DEBUG
will createlogfile
calledDEBUG
and put the logs/errors of that run in it.The error might be present in the file at
/home/centos/DEBUG
.