Hi,
80Vikram .WARN log level has basically higher priority than INFO, so you cannot just switch it off without switching off INFO level.
to control log level over your project change logger binding. E.g. try log4j
in your pom specify dependencies:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.12</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.7</version>
</dependency>
In this case you'll also be able to use slf4j logger.
Than add log4j.properties file to src/main/resources directory of your project.
its contents should be as:
# Root logger option
log4j.rootLogger=INFO, stdout
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{MMM-dd HH:mm:ss.SSS} [%t] %-5p %c{1} - %m%n
where you can change INFO to WARN or DEBUG.
But again, if you setup INFO, you'll be seeing messages like INFO, WARN, ERROR, FATAL
if you set WARN, you'll be seeing WARN, ERROR, FATAL
and there is no known for me option to see infos without warns