summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}