Logging and containers

2018-08-05 Thread Ralph Goers
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 be

Spring boot and reconfiguration

2018-08-05 Thread Ralph Goers
Spring boot comes with actuator endpoints that provide a rudimentary ability to display loggers and set levels, but it doesn’t understand filters or anything more complex. Since the log4j2.xml file is included inside the Spring boot app it isn’t possible to monitor it for changes. I am looking f