Skip to content

Commit

Permalink
Improved starter logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacchella committed May 31, 2013
1 parent 1e9b55e commit e52b7c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/jrds/starter/Starter.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public void initialize(StarterNode level) {
* @param pm
*/
public void configure(PropertiesManager pm) {
log(Level.DEBUG, "registred to %s", getLevel());
}

public final void doStart() {
Expand Down
2 changes: 1 addition & 1 deletion src/jrds/starter/StarterNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void configureStarters(PropertiesManager pm) {
me.getValue().configure(pm);
} catch (Exception e) {
failed.add(me.getKey());
log(Level.ERROR, e, "Starter %s failed to configure for %s", me.getValue(), this);
log(Level.ERROR, e, "Starter %s failed to configure: %s", me.getValue(), e);
}
}
// Failed starter are removed
Expand Down

0 comments on commit e52b7c4

Please sign in to comment.