diff --git a/androlog/src/main/java/de/akquinet/android/androlog/Log.java b/androlog/src/main/java/de/akquinet/android/androlog/Log.java
index <HASH>..<HASH> 100644
--- a/androlog/src/main/java/de/akquinet/android/androlog/Log.java
+++ b/androlog/src/main/java/de/akquinet/android/androlog/Log.java
@@ -1116,7 +1116,7 @@ public class Log {
         if (tag != null && result == null) {
             int index = tag.lastIndexOf(".");
             while (result == null && index > -1) {
-                result = logLevels.get(tag.substring(0, index - 1));
+                result = logLevels.get(tag.substring(0, index));
                 index = tag.lastIndexOf(".", index - 1);
             }
         }
Misplaced -1. Sry.