>>>>> Steinar Bang <s...@dod.no>:

> Does anyone have a piece of config that will let me switch on log level
> debug for shiro only, inside karaf?

> Shiro uses slf4j and I couldn't find any slf4j settings to tweak in the
> etc directory of karaf 4.4.6.

> The closest I got were the log4j settings of org.ops4j.pax.logging.cfg
> and I have no idea how the shiro log will appear there...? (if at all...?)

Adding this to etc/org.ops4j.pax.logging.cfg of karaf 4.4.6, seems to
work:

# Shiro logger
log4j2.logger.shiro.name = org.apache.shiro
log4j2.logger.shiro.level = DEBUG

With this in place, I get shiro debug log messages in karaf.log

Reply via email to