Configuring SDK Logging (SDK for C)
If you have any questions during development, post them on the Issues page of GitHub.
The OBS C SDK log path is specified by the LogPath field in OBS.ini. By default, logs are generated in the logs directory at the same level as the lib directory of the C SDK dynamic library. The OBS.ini file must be in the same directory as the dynamic library (libeSDKLogAPI.so for Linux and eSDKLogAPI.dll for Windows).
The OBS SDK for C allows you to use set_obs_log_path to specify a log path. This function contains two parameters. The log_path parameter specifies the log path and the only_set_log_conf parameter determines what to do under the path. The value of only_set_log_conf is a Boolean value. If only_set_log_conf is set to true, the SDK searches for OBS.ini in the path specified by log_path for log configuration. If only_set_log_conf is set to false, the SDK generates OBS.ini and log files in the path specified by log_path.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
