j256 / cloudwatch-logback-appender

Appender that publishes logback log entries to AWS CloudWatch
ISC License
56 stars 37 forks source link

How can i change the destination region? #8

Closed ZanonEdoardo closed 6 years ago

ZanonEdoardo commented 7 years ago

The env variable "AWS_REGION"->"eu-west-1" of deafultProvideChain not work. I will take every "us-east-1".

j256 commented 7 years ago

Sorry, I don't understand. Is there a problem with the AWS class or something in my code?

RedXi commented 6 years ago

For us it works. We configure the region in the logback.xml.

<appender name="CLOUDWATCH" class="com.j256.cloudwatchlogbackappender.CloudWatchAppender">
    <region>eu-west-1</region>
    <!-- ... -->
</appender>
j256 commented 6 years ago

I'm going to close this. Thanks @RedXi . Feel free to reopen @ZanonEdoardo .