MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.13k stars 21.22k forks source link

Wrong information ont the page regarding log file location of the publisher module #116242

Open emulic opened 9 months ago

emulic commented 9 months ago

Documentation is saying "OPC Publisher's log file will be written to /appdata". However, I was not able to find the log file there. Here is my publisher module configuration : { "Cmd": [ "--pf=/appdata/pn.json", "--aa", "--AutoAcceptUntrustedCertificates=true", "--FetchOpcNodeDisplayName=true", "--FullFeaturedMessage=true" ], "HostConfig": { "Binds": [ "/iiotedge:/appdata" ], "CapDrop": [ "CHOWN", "SETUID" ] } }

No environment variables are defined. The Module twin is empty ("{}").

The used publisher version is 2.9.2.1.

Where is the location of the log file?

We want to collect the log files by Grafana Agent and for that purposes I would like to mount the folder with the publisher logfile to the host.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Naveenommi-MSFT commented 9 months ago

@emulic Thanks for your feedback! We will investigate and update as appropriate.

LeelaRajesh-Sayana commented 9 months ago

Hi @emulic Thank you for reporting the issue. I am escalating this issue to our SMEs on this issue. They will review it and update with more details. I understand that this situation may have caused some inconvenience, and I want to express my gratitude for your efforts and patience in handling it.

Best regards, Leela Rajesh.