Do you have the SLF4J log4j implementation on your class path?

http://logging.apache.org/log4j/2.x/log4j-slf4j-impl/

-Brian

> On May 28, 2021, at 3:28 PM, alina.frey <af...@goscis.com> wrote:
> 
> I set up Shiro to the last working version: shiro-all-1.2.6.jar
> Set logging to DEBUG, in log4j.properties:
> 
> # Default Shiro logging
> log4j.logger.org.apache.shiro=DEBUG
> log4j.logger.org.apache.shiro.realm.text.PropertiesRealm=DEBUG
> log4j.logger.org.apache.shiro.cache.ehcache.EhCache=DEBUG
> log4j.logger.org.apache.shiro.io=DEBUG
> log4j.logger.org.apache.shiro.web.servlet=DEBUG
> log4j.logger.org.apache.shiro.util.ThreadContext=DEBUG
> 
> Logging in successfully, but Shiro logs are NOT printed out.
> 
> What am I supposed to see?
> Are there any examples of shiro logs anywhere? Just so I can get an idea
> what I'm looking for.
> I assume the logs would be printed out in the log file mentioned in the
> log4j.properties, correct?
> 
> 
> 
> --
> Sent from: http://shiro-user.582556.n2.nabble.com/

Reply via email to