Skip to content

logging

Madhumita Subramaniam edited this page Mar 28, 2023 · 1 revision

I’ve checked log4j2.xml file and fido2 code

I removed one Logger https://github.com/GluuFederation/fido2/commit/2ceda366b9f3077cac2ba4b65f572bdc054dca96 which can led to messages duplication

Regarding point 1. The default log level is info

At startup Fido2 server init LoggerService: https://github.com/GluuFederation/fido2/blob/b7a169ad4ec709ccf3b7cba93010c08f134e5961/server/src/main/java/org/gluu/fido2/service/app/AppInitializer.java#L134

This means that you can change in fido2 configuration in DB log level

And this service/timer will update log level in all created loggers

There are 2 limitations of this Timer

It updates log level only after server startup. First time it do this after 15 seconds It can update loggin level only instantiate loggers. This means that if no one call specific service with own logger this logger will be not created But after first call logger timer will update it level as well

In few words there is 15 seconds delay in log level update

Let me know if this help you or you have more questions

Clone this wiki locally