In your application, update the `amplifyconfiguration_logging` file by adding a new json section `defaultRemoteConfiguration`:

```json
{
    "awsCloudWatchLoggingPlugin": {
      "enable": true,
      "logGroupName": "<log-group-name>",
      "region": "<region>",
      "localStoreMaxSizeInMB": 1,
      "flushIntervalInSeconds": 60,
      "loggingConstraints": {
          "defaultLogLevel": "ERROR"
      },
      "defaultRemoteConfiguration": {
          "endpoint": "<your-api-endpoint>",
          "refreshIntervalInSeconds": 1200
      }
    }
}
```

