Logging for REST API