JBASE_ERRMSG_TRACE

Man Page Index


Description
Defines whether or not to log jBASE messages to the $JBCRELEASEDIR/tmp/jbase_error_trace file.

Values
1 - Log the message to $JBCRELEASEDIR/tmp/jbase_error_trace

Default
0 - Do not log messages

Setting
The only valid values for this environment variable are 1 or 0. Setting this variable will not interfere with the behavior set by other JBASE_ERRMSG environment variables. As per normal environment variables, it can be set dynamically using the jBC PUTENV function.

Unix
export JBASE_ERRMSG_TRACE=1

Windows
set JBASE_ERRMSG_TRACE=1

Notes
When this environment variable is set, all jBASE messages that are print-able (i.e. not marked 'NOPRINT') in the $JBCRELEASEDIR/jbcmessages file will be logged to the $JBCRELEASEDIR/tmp/jbase_error_trace file. In this context, not all messages are actually errors but will be logged nonetheless. The messages in the $JBCRELEASEDIR/jbcmessages file can be customized.

Supersedes JBASE_WARNLEVEL from previous versions of jBASE.


ENV