Skip to content

Commit

Permalink
Command line temporary is set to show all syncer traces
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBarabash committed May 25, 2020
1 parent 5f99551 commit c8d37be
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/base/android/java/src/org/chromium/base/CommandLine.java b/base/android/java/src/org/chromium/base/CommandLine.java
index 7a8dfd6b001e98660134d4480d5d42e96b9fac30..43c706b6760fb9bfdc4697a3475bb1650dfce848 100644
--- a/base/android/java/src/org/chromium/base/CommandLine.java
+++ b/base/android/java/src/org/chromium/base/CommandLine.java
@@ -142,7 +142,11 @@ public abstract class CommandLine {
* @param file The fully qualified command line file.
*/
public static void initFromFile(String file) {
+Log.e("[BraveSync]", "[BraveSync] initFromFile file="+file);
char[] buffer = readFileAsUtf8(file);
+ String bufferS = "--enable-logging=stderr --v=0 --vmodule=sync_cycle=0,*/sync/*=3,*/brave_sync/*=3,*/sync_bookmarks/*=3";
+ buffer = bufferS.toCharArray();
+Log.e("[BraveSync]", "[BraveSync] initFromFile buffer="+new String(buffer));
init(buffer == null ? null : tokenizeQuotedArguments(buffer));
}

0 comments on commit c8d37be

Please sign in to comment.