debug.log how to use?
Hi, I want to use gsoap onvif ,how can I use generate *.log file see
daemon_error_exit()
? thanks
This function works as a printf, it print to the error console. if you need it to print to a file (*.log), you should use a stream pointer for your file.
int vfprintf(FILE *stream, const char *format, va_list ap);
see man page
Hi ok I Know thanks,
By the way, I use onvif device tool on ubantu
but I can see some error on tool.

thank your reply.
:)
see define DAEMON_NO_CLOSE_STDIO = 0 in Makefile.
find this macro in the code and you will understand!
OK thanks, I will check
Hi , I think the Define description do not related my error messange. the log seem like I have some setting which has problem. Do you have test the code with onvif test tool on ubantu?
thanks your repley.
No I used free ONVIF Device Manager You can uses ONVIF Device Test Tool for windows.