change logging model