[DF-291] Add logging to AppStarted(). Add autotesting defines.