Worked fine for me.... the trick is this... if you have the warning line highlighted, it "selects" the line which gives it a different color scheme. However, if you click on a different line in the log so you can see the warning, it works fine. First screenshot below shows the warning line "selected" and it appears to be incorrect. Second screenshot shows the message line selected which then shows that the warning has the correct font color applied.
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.