summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/fragments
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-11-21 21:46:05 +0100
committerArne Schwabe <arne@rfc2549.org>2013-11-21 21:46:05 +0100
commit1eedf7186d1667f06c4d21c0a84a05bd693a8e15 (patch)
tree9bda2e1ba3f79e2bbe307de482040db27280ae25 /src/de/blinkt/openvpn/fragments
parente175a209d6c9c7bbd875e9b68d8f21d65763ffc4 (diff)
If a user specifies a higer --verb level show the messages at max verb level
Diffstat (limited to 'src/de/blinkt/openvpn/fragments')
-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);
}
}