Improved formatting of LogActivity messages (fixes #797)

This commit is contained in:
Felix Ableitner 2016-12-22 13:19:46 +09:00
parent 22e9187d36
commit 147f38b37a
1 changed files with 2 additions and 2 deletions

View File

@ -123,9 +123,9 @@ public class LogActivity extends SyncthingActivity {
try {
ProcessBuilder pb;
if (syncthingLog) {
pb = new ProcessBuilder("/system/bin/logcat", "-t", "300", "-s", "SyncthingNativeCode");
pb = new ProcessBuilder("/system/bin/logcat", "-t", "300", "-v", "raw", "-s", "SyncthingNativeCode");
} else {
pb = new ProcessBuilder("/system/bin/logcat", "-t", "300", "'*'");
pb = new ProcessBuilder("/system/bin/logcat", "-t", "300", "-v", "time", "'*'");
}
pb.redirectErrorStream(true);
process = pb.start();