The spool holds a record of commands and their responses.
By default, spooling is disabled.
-
spool <file> [append]:
Starts the spool. If the file exists, it is deleted and the spool
is restarted. If the append token is used, the spool does not delete
the file, but rather appends to it. As a protection, you cannot
create a spool with suffix .xml, .properties, and so on. iWay suggests
using file names that end in .txt, .log, .spool, and so on.
-
spool off:
Pauses spooling. You might want to do this to avoid recording repetitive
commands.
-
spool on:
Resumes spooling.
-
spool close:
Terminates and closes the spool.
-
spool: Displays
the state of the spool.
The spool applies only to the immediate command connection.
The spool command cannot be used in remote mode.
Absolute spool file locations are accepted as entered. Relative
spool file locations are considered to be off the log directory,
which is normally configured for the server in the Log Settings
console page. The default is <home>/config/<configuration>/log.