Create logging model