log4j.logger.smslib=ERROR, smslib log4j.appender.smslib=org.apache.log4j.ConsoleAppender log4j.appender.smslib.layout=org.apache.log4j.PatternLayout log4j.appender.smslib.layout.ConversionPattern=%d [%t] %-5p %C %x - %m%n log4j.logger.org.springframework.web.context.ContextLoader=DEBUG, mylog log4j.appender.mylog=org.apache.log4j.ConsoleAppender log4j.appender.mylog.layout=org.apache.log4j.PatternLayout log4j.appender.mylog.layout.ConversionPattern=%d [%t] %-5p %C %x - %m%n log4j.rootLogger=INFO, mylog