tploggetreqfile — Get the current request logger file
#include <ndebug.h>
int tploggetreqfile(char *filename, int bufsize);
Link with -lnstd -lpthread -lrt -lm
Return the the request logger (LOG_FACILITY_TP_REQUEST), if current is one. The log file name is returned in filename field, if parameter is not NULL. bufsize indicates the length of the output buffer. bufsize is optional. In case if bufsize is 0, the buffer length checks are not done and it is assumed that filename have enough space to store the value.
Function returns 1 if request logging is open. 0 if request logging is not in the progress, thus no value returned in filename.