diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java index 46005bfcd..feee91e61 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java @@ -27,11 +27,15 @@ public class XWApp extends Application { @Override public void onCreate() { - DbgUtils.logEnable( this ); + super.onCreate(); + + // This one line should always get logged even if logging is + // off -- because logging is on by default until logEnable is + // called. DbgUtils.logf( "XWApp.onCreate(); git_rev=%s", - getString(R.string.git_rev) ); + getString( R.string.git_rev ) ); + DbgUtils.logEnable( this ); RelayReceiver.RestartTimer( this ); - super.onCreate(); } }