I would like to know the interoperability of log4j with other frameworks. For example, if I want to shift to other logging framework from log4j in future, what will be the limitations.
Also, If I use log4j over slf4j, will it provide me the flexibility of changing the underlying logging framework?
Ultimately, my question is shall I use log4j over slf4j or just log4j by itself for logging with flexibility of changing it in future?