Log file zipping process

Log files are zipped once the active log file achieves the maximum specified size (default 20 mb).

The steps below illustrate how the system automatically zips log files to conserve storage space.

This example describes only the process for zipping EMA error log files. Note that EMA debug, RM error, RM debug, log files, and WFO logs are also zipped as described below.

  1. Logging data is written to the currently active EMA error log file.

  2. When the currently active log file reaches its configured size limit (default 20 MB), a utility creates an EMA error zip file and adds the active log file to this zip file. The timestamp in the zip file name indicates when the zip file was created (for example, ema.error_2013_05_03_12_44_31.zip).

  3. A new active EMA error log file is created and logging information is now written to this new active log file.

  4. Any other active EMA error log file that reaches its configured size limit on that day is also placed in the zip file created in step 2 (the zip file time-stamped for that day).

  5. On the following day, this same process repeats. The zip file created on this day is timestamped to indicate the current date and time at which it is created. All EMA error log files that reach their configured size limit on that day are placed in this zip file.

Usually, only one zip file is created for each day and all active log files that reach their size limit on that day are stored in that zip file. However, if you open the current day’s zip file to view the individual log files it contains, an additional zip file can be created for that day. For more information, see View stored log files.