ObjectServer file creation sequence

Each file in a file set is indicated by a number appended to the file name (or file extension, if there is one).

For example, if you create a file named logfile in the /log directory and specify that its maximum size is 20 KB and the maximum number of files in the set is 3, the following sequence of files is created and used:
  1. When you click OK to create the file, the ObjectServer creates an empty file named logfile1 in the /log directory.
  2. The ObjectServer writes data to logfile1 until it exceeds the maximum file size (20 KB).
  3. The ObjectServer renames logfile1 to logfile2. It then creates a new logfile1 and writes to it until it exceeds the maximum size.
  4. The ObjectServer renames logfile2 to logfile3 and renames logfile1 to logfile2. It then creates a new logfile1 and writes to it until it exceeds the maximum size.
  5. The ObjectServer deletes the oldest file (logfile3). It then renames logfile2 to logfile3 and renames logfile1 to logfile2. It creates a new file named logfile1 and writes to it until it exceeds the maximum size.

This sequence repeats until the file is altered or dropped.