summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn
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
parente175a209d6c9c7bbd875e9b68d8f21d65763ffc4 (diff)
If a user specifies a higer --verb level show the messages at max verb level
Diffstat (limited to 'src/de/blinkt/openvpn')
-rw-r--r--src/de/blinkt/openvpn/LogWindow.java1
-rw-r--r--src/de/blinkt/openvpn/fragments/LogFragment.java3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java
index 641b2416..3a15b00d 100644
--- a/src/de/blinkt/openvpn/LogWindow.java
+++ b/src/de/blinkt/openvpn/LogWindow.java
@@ -23,7 +23,6 @@ public class LogWindow extends Activity {
}
-
@Override
public boolean onOptionsItemSelected(MenuItem item) {
return super.onOptionsItemSelected(item);
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);
}
}