Hi, yes the the output should go to file specified in the configure command ie ./configure --with-log-file=srtp.log .
The file can have an absolute path or else it will be relative the current work directory.
By default only errors, warning & info are enabled, to get debug for different modules it needs to be explicitly enabled through the api srtp_set_debug_module() or alternatively you can enable all debug by adding  --enable-debug-logging to configure.

I hope this helps.

pascal

From: libsrtp <libsrtp-bounces@lists.packetizer.com> on behalf of Hilman Fitriana via libsrtp <libsrtp@lists.packetizer.com>
Sent: Friday, July 17, 2020 10:20 AM
To: libsrtp@lists.packetizer.com <libsrtp@lists.packetizer.com>
Subject: [libsrtp] libsrtp file as log
 
Hello, I want to ask about the libsrtp log file. In the srtp.srtp.c code, there is one of the `debug_print (mod_srtp, .......) 'commands. Will it enter the file when we use the command ./configure --with-log-file?
If yes, where is the location of the file?

Thank you,
Hilman