Our performance page shows that logging to the console is extremely slow. Yet one of the “best practices” for containers is to have the applications log to STDOUT or STDERR. This leads me to two questions: Is the performance of writing to STDOUT just as bad in a container? I have no reason to believe it wouldn’t be but have no evidence. Assuming performance is poor what are the realistic alternatives? Is there something more Log4j needs to be doing to play well in a cloud environment?
Ralph