Closed viceice closed 3 years ago
Additional env can be passed as third parameter to tasklib.exec
eg:
await taskLib.exec(options!.tool, options!.arguments, { env: { LOG_LEVEL: logLevel} });
ref:
Isn't it possible to put this in arguments already?
Sure, but them some important debug messages are missing which are very helpful to debug config issues.
The commandline args are parsed to late, so we will miss those messages
logLevel
option is now deprecated: renovatebot/renovate#8291
It seems that I have to do an update ;)
Actually, as now it's recommended to use environment variable, I suggest that you do this setting like this:
Is your feature request related to a problem? Please describe. If you enable renovate log level via config or cli it will miss some important messages.
Describe the solution you'd like Please add an input to simply allow renovate log level config via environment. Renovate will parse
LOG_LEVEL
env very early, so no log messages are missing.Describe alternatives you've considered no alternate
Additional context ref #39