Spring messages are not getting logged using log4j? -


i using log4j in spring mvc web application.

log messages other frameworks hibernate getting logged not spring etc.

below log4j.properties.

log4j.rootlogger = info, file  log4j.appender.file=org.apache.log4j.rollingfileappender log4j.appender.file.file=e\:\\logs\\pe.log  log4j.appender.file.maxfilesize=10240kb log4j.appender.file.maxbackupindex=10 log4j.appender.file.threshold=debug log4j.appender.file.layout=org.apache.log4j.patternlayout log4j.appender.file.layout.conversionpattern=%-7p %d [%t] %c %x - %m%n   log4j.logger.org.springframework=info log4j.logger.org.springframework.rules.values=info log4j.logger.org.springframework.context.support=info log4j.logger.org.springframework.transaction=info log4j.logger.org.springframework.aop.interceptor=info log4j.logger.org.springframework.security=info log4j.logger.org.springframework.security.event.authentication.loggerlistener=info 


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -