Skip to content

Commit

Permalink
Small fixes in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenyaM committed Sep 15, 2015
1 parent 9a08c04 commit 07fd0c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/verapdf/merger/ProfileMerger.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private static boolean isExcluded(File file, VeraPDFMergerConfig config) throws
boolean isExcluded = excluded.contains(file.getName()) || excluded.contains(file.getAbsolutePath()) ||
excluded.contains(file.getPath()) || excluded.contains(file.getCanonicalPath());
if (isExcluded) {
logger.error('\'' + file.getAbsolutePath() + '\'' + " is exclude from result profile.");
logger.warn('\'' + file.getAbsolutePath() + '\'' + " is exclude from result profile.");
}
return isExcluded;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ log4j.rootLogger=warn, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.conversionPattern=%d{ABSOLUTE} %5p %t %c{1}:%M:%L - %m%n
log4j.appender.stdout.layout.conversionPattern=%5p %c{1} - %m%n

0 comments on commit 07fd0c4

Please sign in to comment.