I am using Civet web apis (https://github.com/civetweb/civetweb) in my application and the call to mg_write is failing somewhere and there are barely any logs to debug the same. I do see that some DEBUG_TRACE logs are getting written in some failure scenarios. Does anyone know where it gets written to? Is there any flag that needs to be turned on?
I tried to enable access logs and error logs by adding access_log_file path and error_log_file path as options while starting the server using mg_start API.I am not sure how to get DEBUG_TRACE logs written by Civet apis written to some file.