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.
-
Logging data is written to the currently active EMA error log file.
-
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).
-
A new active EMA error log file is created and logging information is now written to this new active log file.
-
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).
-
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.