logback-awslogs-appender
logback-awslogs-appender copied to clipboard
Fetching config from system variables
I want to fetch the values for AWS credentials from my system variables which currently I am not able to achieve. Something like this:
<logRegion>${AWS_DEFAULT_REGION}</logRegion>
where AWS_DEFAULT_REGION is a system variable. Ultimately, while deploying, this value, along with AWS access and secret key is to be fetched from bitbucket secrets. But currently, for local testing, I have these as system variables.
Is it possible with this library?
Your example already works since logback supports system env variable injection