Link to home
Start Free TrialLog in
Avatar of Vrik22
Vrik22

asked on

Writing c# Application Event logs in docker containers

How to write application event logs in individual (not centralised) docker container for windows that has been deployed in Azure service fabric via AWS cicd . what configuration is needed if any ? if it is being logged then  what will be the file path.  ?
Avatar of Vrik22
Vrik22

ASKER

I am getting below error while writing to event logs in container hosted on Azure. .
The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security .
Avatar of Scott Fell
>I am getting below error while writing to event logs in container hosted on Azure. .

This is not something I am familiar with myself, but it does sound like a permission issue and I found information from Microsoft https://blogs.technet.microsoft.com/meamcs/2013/02/01/diagnostics-of-azure-web-sites-custom-logging/

It appears you have to have the account name and key in your code.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.