openziti / ziti-sdk-c

A C-based sdk for delivering secure applications over a Ziti Network
https://docs.openziti.io/docs/reference/developer/sdk/ziti-sdk-c
Apache License 2.0
71 stars 14 forks source link

Zitilib - logging #468

Closed dovholuknf closed 1 year ago

dovholuknf commented 1 year ago

Right now using Ziti C SDK version 0.30.1-118 @c9a2f03 I still see log levels at VERBOSE and I can't seem to discover the mechanism to control the log level. Is there a function to control the log level?

Accordingly, there's no way for me to supply the logging callback to be executed. I'd like to control logging in my application, and log to where I choose to log.

qrkourier commented 1 year ago

Possibly related issue with T-SDK's ziti-edge-tunnel run --verbose N no longer functioning and related precedence of the tunneler config.json file's LogLevel property.

scareything commented 1 year ago

The issue @qrkourier mentions is specific to ziti-edge-tunnel, which I gather is not in play here.

An issue related to logging setup was fixed in ziti-sdk-c recently. See https://github.com/openziti/ziti-sdk-c/pull/464

dovholuknf commented 1 year ago

fixed with 0.30.4