ndrxdebug.conf — Enduro/X Runtime Debug configuration
BINARY_NAME [ndrx=NDRX_DEBUG_LEVEL] [ubf=UBF_DEBUG_LEVEL] [tp=TP_DEBUG_LEVEL] [bufsz=DEBUG_BUFFER_SIZE] [threaded=THREADED] [mkdir=MKDIR] file=[LOG_FILE] [iflags=INTEGRATION_FLAGS]
debug.conf a file specified by NDRX_DEBUG_CONF env variable configures EnduroX platform logging for each of the separate executable. The logging is done from two sources. One source is UBF and another is ATMI (ndrx). For each of the sources debug level can be set for each separate binary. Debug file or stderr also can be specified for each of the separate binaries.
Sample configuration:
# Global config: * ndrx=5 ubf=1 lines=1 bufsz=1000 tp=5 file= # Per binary config: xadmin file=${NDRX_APPHOME}/tmp/XADMIN ndrxd file=${NDRX_APPHOME}/tmp/NDRXD myclient file=${NDRX_APPHOME}/tmp/MYCLIENT myserver file=${NDRX_APPHOME}/tmp/MYSERVER threaded=y ud file=${NDRX_APPHOME}/tmp/NDRX
Similar syntax is used to describe the debug configuration when common configuration is used (i.e. configuration in ini files). The difference is that there is one extra equation mark between the binary and debug string, see example:
[@debug] # Global config: *=ndrx=5 ubf=1 lines=1 bufsz=1000 tp=5 file= # Per binary config: xadmin=file=${NDRX_APPHOME}/tmp/XADMIN ndrxd=file=${NDRX_APPHOME}/tmp/NDRXD myclient=file=${NDRX_APPHOME}/tmp/MYCLIENT myserver=file=${NDRX_APPHOME}/tmp/MYSERVER threaded=y ud=file=${NDRX_APPHOME}/tmp/NDRX