update to log handler