Closed hareeshmakani closed 2 years ago
See also advice given here: https://github.com/NLog/NLog/issues/4841
Hi @hareeshmakani,
Good morning.
Thanks for posting the question.
Few things to note about dynamic variables:
LogManager.Configuration
. This support the input shared by @snakefoot in https://github.com/aws/aws-logging-dotnet/issues/51#issuecomment-440839779.Does the guidance shared by @snakefoot doesn't work for you. Based on 2nd point above, this issue doesn't appear to be an issue with the AWS.Logger.Nlog package (it is really a wrapper around NLog library), but rather investigation/guidance on how NLog configuration works.
Thanks, Ashish
This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
The above code to log data into aws cloudwatch is not working when I try to pass region & profile values from startup class.
However when I hardcoded the values it's working.