Fix bug with log entry format