Class LogLevel
(experimental) Available log levels for Flink applications.
Inheritance
Namespace: Amazon.CDK.AWS.Kinesisanalytics.Flink.Alpha
Assembly: Amazon.CDK.AWS.KinesisAnalyticsFlink.Alpha.dll
Syntax (csharp)
public sealed class LogLevel : Enum
Syntax (vb)
Public NotInheritable Class LogLevel
Inherits
Enum
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Bucket bucket;
var flinkApp = new Application(this, "Application", new ApplicationProps {
Code = ApplicationCode.FromBucket(bucket, "my-app.jar"),
Runtime = Runtime.FLINK_1_20,
CheckpointingEnabled = true, // default is true
CheckpointInterval = Duration.Seconds(30), // default is 1 minute
MinPauseBetweenCheckpoints = Duration.Seconds(10), // default is 5 seconds
LogLevel = LogLevel.ERROR, // default is INFO
MetricsLevel = MetricsLevel.PARALLELISM, // default is APPLICATION
AutoScalingEnabled = false, // default is true
Parallelism = 32, // default is 1
ParallelismPerKpu = 2, // default is 1
SnapshotsEnabled = false, // default is true
LogGroup = new LogGroup(this, "LogGroup")
});
Synopsis
Fields
DEBUG | (experimental) Debug level logging. |
ERROR | (experimental) Error level logging. |
INFO | (experimental) Info level logging. |
value__ | |
WARN | (experimental) Warn level logging. |
Fields
DEBUG
(experimental) Debug level logging.
public const LogLevel DEBUG
Field Value
Type | Description |
---|---|
Log |
Remarks
Stability: Experimental
ERROR
(experimental) Error level logging.
public const LogLevel ERROR
Field Value
Type | Description |
---|---|
Log |
Remarks
Stability: Experimental
INFO
(experimental) Info level logging.
public const LogLevel INFO
Field Value
Type | Description |
---|---|
Log |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System. |
WARN
(experimental) Warn level logging.
public const LogLevel WARN
Field Value
Type | Description |
---|---|
Log |
Remarks
Stability: Experimental