Wrong console colors


#1

Hi there,

Does someone know how to get the correct colors in the console?
I keep on having some non labelled messages and INFO messages in Red.


Beside that, I also don’t get the colors for the markPassed and markFailed steps (command is KeywordUtil.markPassed(’-----SUCCESS-----’)
As showed on the screenshot, i haven’t changed my color preferences.

Thanks beforehand.
Dav.


#2

Hello
What command are you using to log information ?


#3

Also your account information are shown in the picture you should hide the sensitive information
@David_Fonteyn


#4

Thank you @yoyox98 for your important remark. I’ve modified my post.


#5

You can’t set a specific color for markPassed because it’s information so it’s black
You can’t modify the colors for markFailed specificly in the console because it’s logged as an error so it’s in red .
The console is reserved for debugging only and it has only 3 colors which are enough In my opinion because it has to be minimal otherwise it will get too messy

the first few lines are red because they were logged by an external class ,these informations were logged by that class and not katalon so they are in red ,you can see that the logging style is not the same
For example here is an error generated by katalon

i hope this answers your question , what is it thats not correct with the colors ? i might have misunderstood your question


#6

Thank you @yoyox98. Yes that answer my question, I will retain this summary:

  • I cannot control the colors with markpassed and failed in the console
  • messages from external classes are written in red