Community
Participate
Working Groups
Build Identifier: 3.0.0.M2 The log service output double entries in the console when default log config is used. This is happening because when the LoggerProvider is initializing LoggerMill, the wirer will try to log something, then it called back to get the logger which will again wire the LoggerMill, then the log output is registered twice. Reproducible: Always Steps to Reproduce: 1. Start any Riena Application 2. Watch the output from system console 3.
Created attachment 182274 [details] Patch to fix this issue Add a flag so that it will not wire itself again when it is wiring.
Sadly I could not reproduce that the LoggerMill gets wired twice (debugger, system.out) which would result in adding LogListeners twice and so causing the described effect. But the existing code (LoggerProvider) could indeed cause a double wiring of the LoggerMill. So, I applied the patch. Thank you, Patrick!