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_leveloption withlogfile.-l:-l debug, will setlog_levelto DEBUG for logging to standard output.-L:-L DEBUGwill createlogfilecalledDEBUGand put the logs/errors of that run in it.The error might be present in the file at
/home/centos/DEBUG.