Fixing the app logging