I am working with embedded undertow and using org.jboss.logging.Logger for logging. I cannot use log4j or slf4j since the application which is gonna use my jar might not be using different version of log4j and there might be some conflicts. And also since undertow already has jobss.logging in-built I do not want to add any dependency to my jar.
So, is there any way I can add the logging level at run time by passing the level as a parameter to a method or constructor?