Replaced database logging by normal logging