During KMs startup, log4j logs don't show up resulting in important logs getting omitted. This happens because log4 initialisation only happens in KMSWebApp#contextInitialized and logs written before that don't show up.
For example the following log never shows up:
Another example is that the KMS startup message never shows up in the kms logs.
Note that this works in the unit tests, because MiniKMS sets the log4j system property.