interface ContinuousLoggingProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.ContinuousLoggingProps |
Java | software.amazon.awscdk.services.glue.ContinuousLoggingProps |
Python | aws_cdk.aws_glue.ContinuousLoggingProps |
TypeScript (source) | @aws-cdk/aws-glue » ContinuousLoggingProps |
Properties for enabling Continuous Logging for Glue Jobs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue from '@aws-cdk/aws-glue';
import * as logs from '@aws-cdk/aws-logs';
declare const logGroup: logs.LogGroup;
const continuousLoggingProps: glue.ContinuousLoggingProps = {
enabled: false,
// the properties below are optional
conversionPattern: 'conversionPattern',
logGroup: logGroup,
logStreamPrefix: 'logStreamPrefix',
quiet: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled | boolean | Enable continouous logging. |
| conversion | string | Apply the provided conversion pattern. |
| log | ILog | Specify a custom CloudWatch log group name. |
| log | string | Specify a custom CloudWatch log stream prefix. |
| quiet? | boolean | Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages. |
enabled
Type:
boolean
Enable continouous logging.
conversionPattern?
Type:
string
(optional, default: %d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n)
Apply the provided conversion pattern.
This is a Log4j Conversion Pattern to customize driver and executor logs.
logGroup?
Type:
ILog
(optional, default: a log group is created with name /aws-glue/jobs/logs-v2/.)
Specify a custom CloudWatch log group name.
logStreamPrefix?
Type:
string
(optional, default: the job run ID.)
Specify a custom CloudWatch log stream prefix.
quiet?
Type:
boolean
(optional, default: true)
Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages.

.NET
Java
Python
TypeScript (