Affects Version/s: None
Fix Version/s: None
Was running nexus-perf + yourkit combo, and something striking caught my eye:
According to Yourkit, ~10% of cpu time spent by system was doing this:
By closer inspection, it seems that Orient's OLogManager does this. Interestingly, it also implements "levels", and it does have debug=true by default. This means, that all the debug logs went thru completely, only to be discarded by JUL (or SLF4J?).
It seems OLogManager should be synced with log levels, as if debug would be set to false, it would prevent using 10% of CPU time to get the loggers from JUL.
Either NX log manager should be made aware of Orient OLogManager to set it's levels properly, or some other means would be needed to keep the two in sync.
- I saw this class pop up in Yourkit "hot spots" with 8-9% of CPU time
- interestingly, it could not regularly reproduce this, so this one might be a "red herring", act only if we see it again?