Command: errlog

Syntax

errlog

Description

Display the error log window.

Parameters

None

Switches

Notes

The error log window displays language errors encountered during command execution.

Irrespective of whether or not the error log window is open, language errors are directed to a log file named mxerr<pid>.log, where <pid> is the Fire process-id. This file will be located in the logs directory, or $MXTEMPDIR if the logs directory does not exist.

Language errors are directed to the terminal monitor when command echoing is active.

Other output can be directed to the error log by the -err switch applied to the following commands: tell, dir, glist, history, idir, list, type, wlist.

When an error occurs and the error log window is not present (or iconised and not in quiet mode), a warning bell (beep) is issued. This behavior can be suppressed by errlog -q, or via the system identifier error_beep.

The typing of Control E in any window will invoke the command errlog, thus making it visible.

Examples

Display the error log window.

errlog

Display the error log window in the top-left corner of the display with a history buffer of 50 lines.

errlog -r=50,-q,-pos=<20,20>

Direct error log output to a user file.

open mychan,-of='/tmp/myerr.txt'
errlog -ch=mychan

See Also

Commands:

list, monitor, open, tell

Files:

log file

Identifiers:

echoing (numeric), sys_control_e (numeric)

Utilities:

mxlog