DATAJPA-186, DATAJPA-187 - Corrected typos in NamedQuery log output.
Change log level for one of the log messages in NamedQuery from INFO to WARN. This was done to provide more forceful information to the developer that sorting applied with named queries will be ignored.
This commit is contained in:
committed by
Oliver Gierke
parent
b7fcad6f40
commit
9fac01c2eb
@@ -63,7 +63,7 @@ final class NamedQuery extends AbstractJpaQuery {
|
||||
}
|
||||
|
||||
if (parameters.hasPageableParameter()) {
|
||||
LOG.info("Finder method {} is backed by a NamedQuery" + " but contains a Pageble parameter! Sorting deliviered "
|
||||
LOG.warn("Finder method {} is backed by a NamedQuery" + " but contains a Pageable parameter! Sorting delivered "
|
||||
+ "via this Pageable will not be applied!", method);
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %40.40c:%4L - %m%n
|
||||
|
||||
# Root logger option
|
||||
log4j.rootLogger=WARN, stdout
|
||||
log4j.rootLogger=ERROR, stdout
|
||||
|
||||
# Hibernate logging options (INFO only shows startup messages)
|
||||
log4j.logger.org.hibernate=FATAL
|
||||
|
||||
Reference in New Issue
Block a user