Fix bug: log.json should not be empty.