Azure-Samples / iot-edge-opc-plc

Sample OPC UA server with nodes that generate random and increasing data, anomalies and much more ...
MIT License
223 stars 95 forks source link

Use syslog format for logging, add service request scopes to logs #314

Closed mregen closed 11 months ago

mregen commented 11 months ago

Purpose

<4>2023-11-24T10:38:32.596Z [opcua@311 ChannelId:"13"] - Validation errors suppressed:  [CN=UACloudPublisher, C=US, S=Arizona, O=OPCFoundation] [DA9411A1308BF624E505E3A33A876EED1CC9A8BF]
<6>2023-11-24T10:38:32.609Z [opcua@311 ChannelId:"13"] - Session CREATED, Id=ns=8;i=1700941267, Name=UACloudPublisher, ChannelId=f53b64f8-afc5-4ca0-bb96-52009693223c-13, User=Anonymous
<6>2023-11-24T10:38:32.624Z [opcua@311 ChannelId:"13"] - Server - SESSION CREATED. SessionId=ns=8;i=1700941267
<6>2023-11-24T10:38:32.665Z [opcua@311 ChannelId:"13"] - Session VALIDATED, Id=ns=8;i=1700941267, Name=UACloudPublisher, ChannelId=f53b64f8-afc5-4ca0-bb96-52009693223c-13, User=Anonymous
<

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

What to Check

Verify that the following are valid

Other Information

luiscantero commented 11 months ago

[*.cs]

Why move this file from root? Now it doesn't apply to tests etc. #Closed


Refers to: .editorconfig:1 in 713f9bd. [](commit_id = 713f9bd9d385c8bb92827e1450d715668149a2a8, deletion_comment = True)

luiscantero commented 11 months ago

@mregen also, pls increase version in version.json #Resolved

mregen commented 11 months ago

[*.cs]

good catch, this was unintentional...


In reply to: 1827222711


Refers to: .editorconfig:1 in 713f9bd. [](commit_id = 713f9bd9d385c8bb92827e1450d715668149a2a8, deletion_comment = True)

mregen commented 11 months ago

2.9.14


In reply to: 1827528585