I have a webapp that allows a user to change the logging in some part of the application to DEBUG.
Configurator.setLevel(logger, Level.DEBUG);
The user then performs an action that allows DEBUG messages to output to the log file. Most messages come in just fine, but a part of the trailing end of messages doesn't come in. It stops part way. I waited to see if it does update and it did not.
If the user performs the same action again, allowing a further batch of DEBUG message to output, I can see that the part of the output that was missing last time, is now present (identified by its timestamp).
How do I fix this issue and why is the end of a batch of DEBUG messages missing?