Writes status line messages to text file.
MESSAGELOG("filename", type)
"filename" |
- |
Optional. A string, the name of the logfile where messages are to be written. Defaults to message.log. |
||||||||
type |
- |
Optional. An integer, the type of messages to save:
|
messagelog(2)
user actions...
messagelog(0)
viewfile("message.txt")
creates the logfile message.txt, then closes and displays the file.
The logfile is automatically closed when DADiSP exits.
Message logging can also be set in dadisp.cnf via the following parameters:
MESSAGE_LOGNAME filename
MESSAGE_LOGGING -1:ALL 0:off (default) 1:info 2:errors
Turning on message logging via dadisp.cnf allows all startup messages to be placed in the logfile.
dadisp.cnf (configuration file)