Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Enterprise SCADA

Spool events to a file

  • Last UpdatedApr 24, 2025
  • 1 minute read

When events are spooled to a file, the log file can fill up with data if it is not emptied periodically. To ensure old entries are deleted, a job scheduler (jsh) entry should be created.

The jsh entry should invoke the shuffle_file command periodically to prevent the log from filling up. The command syntax is as follows:

shuffle_file filename number_of_file_copies

The extension 0 is added to the file name to shuffle a file once, 1 to shuffle it twice, and so on.

jsh Name: shuffleDailyLog

Time: 8:00

Command: shuffle_file

Argument: %DNADataRoot%\%DNASiloName%\Log\spooler1.log 30

Type: SCRIPT

In this example, the daily log recorded in file %DNADataRoot%\%DNASiloName%\Log\spooler1.log is moved each day to %DNADataRoot%\%DNASiloName%\Log\spooler1.log.0 so that up to 30 previous daily log files are kept in the system.

Related Links