choco icon indicating copy to clipboard operation
choco copied to clipboard

Add configuration option to set logging level

Open mhunsber opened this issue 6 years ago • 1 comments

The chocolatey.log file is extremely verbose and includes DEBUG logs that include arguments passed through the --params option, which the user might not want persisted in a log file.

There should be a configuration option to set how verbose the chocolatey log is. e.g. choco config set --name logLevel --value INFO would make chocolatey only persist INFO level and above logs.

mhunsber avatar Aug 23 '19 13:08 mhunsber

I would also like to have this. I use --log-file to explicitly set the path of the log for choco installs. I would like just INFO or even just warnings and errors in that log if possible

red8888 avatar Oct 03 '19 22:10 red8888