Closed felipe-iar closed 1 year ago
The build and rebuild tasks comes with '-log' 'info' hardcoded in the command line:
build
rebuild
'-log' 'info'
'C:\\...\\9.40.1.63915/common/bin/iarbuild.exe' 'D:\prj\prj.ewp' '-build' 'Debug' '-log' 'info' '-varfile' ...
When trying to raise verbosity to -log all in the rebuild task:
-log all
{ "version": "2.0.0", "tasks": [ { "type": "iar", "command": "rebuild", "project": "${command:iar-config.project-file}", "config": "${command:iar-config.project-configuration}", "builder": "${command:iar-config.toolchain}/common/bin/iarbuild.exe", "label": "iar: Rebuild Project", "argumentVariablesFile": "${command:iar-config.workspace-file}", "extraBuildArguments": ["-log", "all"], "problemMatcher": [ "$iar-cc", "$iar-linker" ] } ], }
There is a clash:
'C:\\...\\9.40.1.63915/common/bin/iarbuild.exe' 'D:\prj\prj.ewp' '-build' 'Debug' '-log' 'info' '-log' 'all' '-varfile' ...
... and -log info wins.
-log info
Is there any way to override the default behavior to maximize verbosity (-log all)?
Hi
You can change the verbosity in the settings for the iarbuild extension settings; search for iar-build.buildOutputLogLevel and you can alter it to the level you want.
Found it. Thanks @jlonnberg.
The
build
andrebuild
tasks comes with'-log' 'info'
hardcoded in the command line:When trying to raise verbosity to
-log all
in the rebuild task:There is a clash:
... and
-log info
wins.Is there any way to override the default behavior to maximize verbosity (
-log all
)?