choco
choco copied to clipboard
Add configuration option to set logging level
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.
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