Hi,

I am integrating shiro with a struts application using log4j 2.0 deployed on Jboss server..
During application start-up, following logs are coming on console
"[org.apache.shiro.web.env.EnvironmentLoader] (MSC service thread 1-8) Starting Shiro environment initialization."

But, there are no logs generated during Authentication, I have done following -

1.   Added Logger in log4j2.xml <Logger
   name="org.apache.shiro.realm.AuthenticatingRealm" level="trace"/>
2. Added slf4j-log4j12 jar in classpath.

Also, tried replacing slf4j-log4j12 jar with slf4j-simple jar.

Any idea on what am I missing here.

--
Regards,
Saurabh

Reply via email to