Skip to content

Commit

Permalink
Fix some logger handling
Browse files Browse the repository at this point in the history
Signed-off-by: kaido207 <kaido.hiroki@fujitsu.com>
  • Loading branch information
kaido207 committed Nov 1, 2023
1 parent 84f3d48 commit 91249a3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ protected synchronized void init() {
//System.out.println("IP Map: " + pointsByType.toString());

// Log some trace messages
logger.log(Level.FINE, "Console Plugin Service has been Initialized!");
logger.log(Level.FINEST, pointsByType.toString());
logger.log(Level.CONFIG, "Console Plugin Service has been initialized. Integration points by type: \n{0}", pointsByType);
}

/**
Expand Down Expand Up @@ -305,7 +304,7 @@ public Map<String, List<URL>> getResources(String name) {
} catch (Exception ex) {
// Ignore b/c this should not ever happen, we're not
// changing the URL
logger.log(Level.INFO, "ConsolePluginService: URL Copy Failed!");
logger.log(Level.SEVERE, "ConsolePluginService: URL Copy Failed!", ex);
}
}

Expand Down

0 comments on commit 91249a3

Please sign in to comment.