Create log-api