On Sun, Sep 15, 2024, 16:08 Tommy Murphy <tommy_mur...@hotmail.com> wrote:
> > In our IDE (Embeetle IDE) this causes the OpenOCD output to be always > red - even when nothing goes wrong. > > Same in the Eclipse console where, by default, stdout output is coloured > black and stderr output is coloured red. > > > You can redirect the log on another channel through the command > 'log_output' if I remember correctly. > > FWIW... > > https://openocd.org/doc/html/General-Commands.html > > Command: *log_output* *[filename | 'default']* > Redirect logging to filename. If used without an argument or filename is > set to ’default’ log output channel is set to stderr. > On *nix you can run the executable with redirection of stderr to stdout, e.g.: openocd 2> /dev/stdout or run openocd -c 'log_output /dev/stdout' or create a socket or a pipe and send stderr there. No idea how to achieve these in Windows. Antonio