Back to home page

Enduro/X

 
 

    


0001 TPLOGETREQFILE(3)
0002 =================
0003 :doctype: manpage
0004 
0005 NAME
0006 ----
0007 tploggetreqfile - Get the current request logger file
0008 
0009 SYNOPSIS
0010 --------
0011 #include <ndebug.h>
0012 
0013 int tploggetreqfile(char *'filename', int 'bufsize');
0014 
0015 Link with '-lnstd -lpthread -lrt -lm'
0016 
0017 DESCRIPTION
0018 -----------
0019 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.
0020 
0021 
0022 RETURN VALUE
0023 ------------
0024 Function returns '1' if request logging is open. '0' if request logging is not in the progress, thus no value returned in 'filename'.
0025 
0026 ERRORS
0027 ------
0028 N/A
0029 
0030 EXAMPLE
0031 -------
0032 See *atmitest/test031_logging/atmiclt31.c* for sample code.
0033 
0034 BUGS
0035 ----
0036 Report bugs to support@mavimax.com
0037 
0038 SEE ALSO
0039 --------
0040 *tplogsetreqfile_direct(3)* *tplogsetreqfile(3)* *ex_devguide(guides)* *tplogdump(3)* *tplog(3)* *tplogconfig(3)*
0041 
0042 COPYING
0043 -------
0044 (C) Mavimax, Ltd
0045