Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong committed Sep 18, 2022
1 parent cc993ca commit 9167d2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/src/main/java/org/owasp/dependencycheck/App.java
Expand Up @@ -657,8 +657,7 @@ private String getDefaultCveUrlModified(CliParser cli) {
* @param verboseLog the path to the verbose log file
*/
private void prepareLogger(String verboseLog) {
LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory();

final LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory();
final PatternLayoutEncoder encoder = new PatternLayoutEncoder();
encoder.setPattern("%d %C:%L%n%-5level - %msg%n");
encoder.setContext(context);
Expand Down

0 comments on commit 9167d2d

Please sign in to comment.