Interface: AuroraLogSettings
Defined in: packages/depot-cdk/src/stage-depot-location.ts:319
Properties
exportLogs
readonlyexportLogs:boolean
Defined in: packages/depot-cdk/src/stage-depot-location.ts:334
When true, logs will be exported to CloudWatch. Default is false
logStatement?
readonlyoptionallogStatement?:"all"|"ddl"|"dml"|"none"
Defined in: packages/depot-cdk/src/stage-depot-location.ts:331
The type of statements to log. Valid values are - none: turn this feature off, ddl: log data definition language (DDL) statements, dml: log data manipulation language (DML) statements, all: log all queries. The default if not specified is 'all'.
logStatementsDurationLongerThan?
readonlyoptionallogStatementsDurationLongerThan?:number
Defined in: packages/depot-cdk/src/stage-depot-location.ts:325
Controls the minimum amount of time, in milliseconds, that a SQL statement runs before it is logged. Statements executing in time shorter than this will not be captured. Default if not specified is 0 (capture all statement logs). Setting this to -1 will disable statement capturing logs. This parameter helps you identify long-running queries that might cause performance issues. You can set it to a threshold value (a runtime that is considered too long for a specific workload) to capture queries that exceed that threshold and identify potential performance bottlenecks.