added logging setting