mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-09 11:41:29 +00:00
Improved formatting of LogActivity messages (fixes #797)
This commit is contained in:
parent
22e9187d36
commit
147f38b37a
1 changed files with 2 additions and 2 deletions
|
@ -123,9 +123,9 @@ public class LogActivity extends SyncthingActivity {
|
||||||
try {
|
try {
|
||||||
ProcessBuilder pb;
|
ProcessBuilder pb;
|
||||||
if (syncthingLog) {
|
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 {
|
} else {
|
||||||
pb = new ProcessBuilder("/system/bin/logcat", "-t", "300", "'*'");
|
pb = new ProcessBuilder("/system/bin/logcat", "-t", "300", "-v", "time", "'*'");
|
||||||
}
|
}
|
||||||
pb.redirectErrorStream(true);
|
pb.redirectErrorStream(true);
|
||||||
process = pb.start();
|
process = pb.start();
|
||||||
|
|
Loading…
Reference in a new issue