summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/fragments/LogFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/blinkt/openvpn/fragments/LogFragment.java')
-rw-r--r--src/de/blinkt/openvpn/fragments/LogFragment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/fragments/LogFragment.java b/src/de/blinkt/openvpn/fragments/LogFragment.java
index 721f0707..e049b8ba 100644
--- a/src/de/blinkt/openvpn/fragments/LogFragment.java
+++ b/src/de/blinkt/openvpn/fragments/LogFragment.java
@@ -339,7 +339,8 @@ public class LogFragment extends ListFragment implements StateListener, SeekBar.
private void initCurrentMessages() {
currentLevelEntries.clear();
for(LogItem li: allEntries) {
- if (li.getVerbosityLevel() <= mLogLevel)
+ if (li.getVerbosityLevel() <= mLogLevel ||
+ li.getVerbosityLevel() >= VpnProfile.MAXLOGLEVEL)
currentLevelEntries.add(li);
}
}