I do not understand if this is intentional, but if the message in println starts with Error, the output will be redirected to stderr instead of s
println
stderr
s