Skip to content

Commit

Permalink
Fork/johannes2/license checker logging (#910)
Browse files Browse the repository at this point in the history
* Fixes #905 License checker should respect log level when printing messages

- Using log level fine for license is valid print

* [Review - 910] - fixed broken test

* [Review - 910] - fixed broken test
  • Loading branch information
svenruppert committed May 31, 2017
1 parent 12834d2 commit 9a32cb1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ private static String getValidationInfo(String validationInfo) {

private static void printValidationInfo(CvalInfo validationInfo) {
printLine(validationInfo.getMessage().length());
getLogger().log(Level.FINE, validationInfo.getMessage());
System.out.println(validationInfo.getMessage());
printLine(validationInfo.getMessage().length());
}
Expand All @@ -103,6 +104,7 @@ private static String getLine(int n) {
// print formating line of "-" symbols
private static void printLine(int n) {
String line = getLine(n);
getLogger().log(Level.FINE, line);
System.out.print(line);
System.out.println();
}
Expand Down

0 comments on commit 9a32cb1

Please sign in to comment.