Configuring SDK Logging
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 stored in the logs directory at the same level as the lib directory of the C SDK dynamic library. OBS.ini must be in the same directory as libeSDKLogAPI.so.
The OBS C SDK allows you to use set_obs_log_path to specify a log path. This method has two parameters. The first parameter specifies a path and the second one determines how to set the path. If the second parameter is set to True, the SDK searches for OBS.ini in the path specified by the first parameter for log configuration. If the second parameter is set to False, the SDK generates OBS.ini and log files in the path specified by the first parameter.
- For details about SDK logging, see Log Analysis.
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