Initial commit for general log handler