- summary clog command documentation
Record all user-interface input and output to a file.
|| `filename` || Open filename and begin logging. || || `-c, --close, -o, --off, -d, --disable` || Stop logging, close the file. || || `-a, --add string` || Add the given string to the open log file. || || `-q, --query` || Returns open if logging is active or closed if logging is not active. || || `-A, --append, -e, --existing` || Opens existing log file named `filename` and logging is added at the end of the file. ||
The `clog` command allows users to save all user-interface input and output to a file. When Soar is logging to a file, everything typed by the user and everything printed by Soar is written to the file (in addition to the screen).
Invoke `clog` with no arguments (or with `-q`) to query the current logging status. Pass a filename to start logging to that file (relative to the command line interface's home directory). Use the `close` option to stop logging.
To initiate logging and place the record in foo.log:
To append log data to an existing foo.log file:
To terminate logging and close the open log file:
Does not log everything when structured output is selected.
[cmd_command_to_file]