LogConfig
import type { LogConfig } from "https://aws-api.deno.dev/v0.3/services/appsync.ts?docs=full";
The Amazon CloudWatch Logs configuration.
interface LogConfig {
cloudWatchLogsRoleArn: string;
excludeVerboseContent?: boolean | null;
fieldLogLevel: FieldLogLevel;
}§Properties
§
cloudWatchLogsRoleArn: string
[src]The service role that AppSync assumes to publish to CloudWatch logs in your account.
§
excludeVerboseContent?: boolean | null
[src]Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
§
fieldLogLevel: FieldLogLevel
[src]The field logging level. Values can be NONE, ERROR, or ALL.
- NONE: No field-level logs are captured.
- ERROR: Logs the following information only for the fields that are in error:
- The error section in the server response.
- Field-level errors.
- The generated request/response functions that got resolved for error fields.
- ALL: The following information is logged for all fields in the query:
- Field-level tracing information.
- The generated request/response functions that got resolved for each field.