Skip to content

Commit

Permalink
Allow default value for log
Browse files Browse the repository at this point in the history
Get a non-null default value for log level of it is not available on environment
variables.
  • Loading branch information
gorkem committed Jul 18, 2016
1 parent ff63bb0 commit 38b61a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class LogHandler {

public void install(JavaClientConnection rcpConnection) {
this.dateFormat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
this.logLevelMask = getLogLevelMask(System.getProperty("log.level"));
this.logLevelMask = getLogLevelMask(System.getProperty("log.level", ""));//Empty by default
this.calendar = Calendar.getInstance();
this.connection = rcpConnection;

Expand Down

0 comments on commit 38b61a3

Please sign in to comment.