Back to home page

Enduro/X

 
 

    


0001 TPLOGCLOSEREQFILE(3)
0002 ====================
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 tplogclosereqfile - Close the current request logging facility
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 #include <ndebug.h>
0014 
0015 void tplogclosereqfile(void);
0016 
0017 Link with '-lnstd -lpthread -lrt -lm'
0018 
0019 DESCRIPTION
0020 -----------
0021 Close currently open request logging facility. It is not a problem to call 
0022 a function twice. If request logger is closed nothing will happen. With this 
0023 function logger will be degraded to thread logging facility (if was open) or 
0024 to process based logging.
0025 
0026 Function applies to all Enduro/X logging facilities: *TP*, *NDRX* and *UBF*,
0027 thus when request logging is closed, any facility is degraded thread or process
0028 logging.
0029 
0030 
0031 RETURN VALUE
0032 ------------
0033 N/A
0034 
0035 ERRORS
0036 ------
0037 N/A
0038 
0039 EXAMPLE
0040 -------
0041 See *atmitest/test031_logging/atmiclt31.c* for sample code.
0042 
0043 BUGS
0044 ----
0045 Report bugs to support@mavimax.com
0046 
0047 SEE ALSO
0048 --------
0049 *tplogclosethread(3)* *tplogsetreqfile_direct(3)* *tplogsetreqfile(3)* 
0050 *tplogdump(3)* *tplogdumpdiff(3)* *tplog(3)* *tplogconfig(3)* *ex_devguide(guides)*
0051 
0052 COPYING
0053 -------
0054 (C) Mavimax, Ltd
0055