Skip to content

Commit

Permalink
fixing parent linking for loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
rmannibucau committed Feb 2, 2021
1 parent a22202d commit 6b446b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ private YupiikLogger createLogger(final String name, final String bundle) {
// now create parent tree
Logger current = logger;
while (current.getParent() == null) {
int dot = current.getName().indexOf('.');
int dot = current.getName().lastIndexOf('.');
if (dot < 0) {
break;
}
Expand Down

0 comments on commit 6b446b9

Please sign in to comment.