Skip to content

Commit

Permalink
Remove checking of duplicate logging version fizzed#106
Browse files Browse the repository at this point in the history
  • Loading branch information
agentgt committed May 2, 2019
1 parent 21e9629 commit 8445d9d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ final public void setLogging(boolean logging) {
}
if (logging) {
log = LoggerFactory.getLogger(RockerRuntime.class);
if (this.logging == null) {
//Log the version only once but log it if logging is turned on after instantiation
log.info("Rocker version {}", com.fizzed.rocker.Version.getVersion());
}
log.info("Rocker version {}", com.fizzed.rocker.Version.getVersion());
}
else {
log = NOPLogger.NOP_LOGGER;
Expand Down

0 comments on commit 8445d9d

Please sign in to comment.