Add JSON ajax request for log.