struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <yasser.zam...@live.com>
Subject Re: log.debug not showing on console
Date Tue, 31 Oct 2017 06:47:28 GMT


On 10/30/2017 5:45 PM, ravirajmishra98@gmail.com wrote:
> 		<Logger name="com.package.project" level="DEBUG">
>              <appender-ref ref="Console" level="DEBUG"/>
>          </Logger>
>          <Logger name="com.package.project" level="INFO" additivity="true">
>              <appender-ref ref="RollingFile" level="INFO"/>
>          </Logger>

I think this is the cause and you should rewrite like below

		<Logger name="com.package.project" level="INFO" additivity="false">
             <appender-ref ref="Console" level="DEBUG"/>
additivity="true">
             <appender-ref ref="RollingFile" level="INFO"/>
         </Logger>

However, it is better to ask at log4j mailing lists such questions.
Mime
View raw message