Azure-Samples / iot-edge-opc-plc

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

Verbose logging is no longer working #321

Closed Scarjit closed 9 months ago

Scarjit commented 9 months ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [x] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Set --loglevel=verbose For example using docker run --rm -it -p 50000:50000 -p 8080:8080 --name opcplc mcr.microsoft.com/iotedge/opc-plc:latest --pn=50000 --autoaccept --sph --sn=5 --sr=10 --st=uint --fn=5 --fr=1 --ft=uint --gn=5 --loglevel=verbose

Any log messages given by the failure

image image

Expected/desired behavior

It should output verbose log.

OS and Version?

Tested on Docker (Windows Host) and Kubernetes (RHEL 9 host)

Versions

latest

Mention any other details that might be useful

It is working with v2.9.12.

During https://github.com/Azure-Samples/iot-edge-opc-plc/pull/314 verbose was renamed to trace, without documentation change. (Using --loglevel=trace works)