Hi, I'm using slf4j with logback implementation. We have some critical system properties that are used to configure logback and I want developers to explicitly set them before they call `LoggerFactory.getLogger()`. I want to throw an exception if the properties are not set. I have tried to throw the exception from logback `StatusListener` but SLF4J catches all exceptions during its initialization (in org.slf4j.impl.StaticLoggerBinder#init). I know I can check the values of those properties at the start of the application but because they are purely used to configure logback, so I want to keep it inside the configuration code. Is there any way to stop SLF4J from catching the exceptions?
Thanks Shawn
_______________________________________________ slf4j-user mailing list slf4j-user@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-user