| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (10 out of 10)

Writing Messages to a Log File

You can write warning and trace messages to a log file by using the Log File Parameters system table.

To enable the log file:

G2 automatically writes all Logbook messages to the log file.

By default, G2 writes the log file in the default directory. You can specify a different directory by editing the Directory-for-log-files attribute in the Log File Parameters system table.

G2 adds a prefix to all log filenames, whose default is g2-log-.

For more information on setting log file parameters, see Log File Parameters.

| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (10 out of 10)

Copyright © 1997 Gensym Corporation, Inc.