Skip to content

Releases: j256/cloudwatch-logback-appender

3.0

17 Feb 05:22

Choose a tag to compare

  • Moved to Java 11 to support logback 1.4.X and slf4j version 2.X.X.
  • Updated to AWS v2 of the SDK.
  • Added the 'disableAwsMetadata' setting if you are not running in EC2/AWS so it won't try to download metadata.
  • Added the 'taskId' expansion for running under ECS. Uses a brittle regex pattern to avoid a json parser dependency.
  • Added the 'retentionDays' setting to add the retention period to the log-group.
  • Added the 'waitForAllEvents' setting (default true) that waits for all log entries before stopping the appender.
  • Added code to work under ECS and EC2.

2.1

13 Feb 21:55

Choose a tag to compare

2.1
  • Added code to throw if bad characters in logGroup and convert ':' to '_' in logStream.

2.0

31 Dec 00:52

Choose a tag to compare

2.0
  • Render the log-stream name with the Ec2PatternLayout to support %date and other patterns.
  • Added %uuid, %hostName, %hostAddress, %systemProperty, and %systemEnviron layout patterns.
  • Added support for the handling of event messages larger than 256k. Thanks to @fs-aikito and @alexvanacker.
  • Fixed event race conditions by adding copyEvents setting (default true). Thanks to @fs-aikito.
  • Added printRejectedEvents config setting for sending failed events to stderr.
  • Moved to requiring java 7.

1.11

31 Dec 00:53

Choose a tag to compare

  • Added instance-name and instance-id expansion into the log-stream name. Thanks much to Johannes Röckert.
  • Refined dependency documentation to just logs and ec2. Thanks to @RedXi and @m1schka.

1.9

31 Dec 00:54

Choose a tag to compare

1.9
  • Create the Cloudwatch log-group and log-stream using reflection to hack around the AWS SDK incompatibility.

1.10

31 Dec 00:53

Choose a tag to compare

  • Got rid of Long.compare(...). Not in Java 6.

1.8

31 Dec 00:54

Choose a tag to compare

1.8
  • Added sorting of events before posting to CloudWatch because otherwise an exception is thrown by AWS.

1.7

31 Dec 00:54

Choose a tag to compare

1.7
  • Fixed problem with the DefaultAWSCredentialsProviderChain properties. Thanks to alexfoxgill.

1.6

31 Dec 00:55

Choose a tag to compare

1.6
  • Fix to the EC2 instance name lookup to add in the region. Thanks to alexfoxgill.

1.5

31 Dec 00:55

Choose a tag to compare

1.5
  • Added support for cloudwatchappender.aws.accessKeyId cloudwatchappender.aws.secretKey properties.
  • Better handling of sequence token with a retry.
  • Added better unit tests and fixed a couple of wiring issues.