Fixed log handler