Simple log handler