Implemented add log via REST API