ADIC DATAMGR 3.5 User Manual
Page 77

System Administrator’s Guide to Installing DataMgr
Setup Tasks
3-17
Setup T
asks
The
clean_emasslogs
script will be added to the user’s
cron
file upon installation. When this script is run it moves the
current set of logs to a file in the same directory with the same
name, but appended with a timestamp.Shown below is an
example of a moved logs with the timestamp applied.
In addition to the current log, the default script saves up to
seven old log files per log type,. To change this default, edit the
MAX_COPY
parameter in the
clean_emasslogs
script.
There are two ways to save all log files without deleting the old
files:
•
The first way to save logs is to create a clean_emasslogs
directory in which to store the moved files. Then edit the
clean_emasslogs
script,
SAVE_DIR
parameter.
# ls /etc/dm/emasslogs/history
el_hist_00
el_hist_00.1999:11:28:01:00:00
el_hist_00.1999:11:25:01:00:00
el_hist_00.1999:11:29:01:00:00
el_hist_00.1999:11:26:01:00:00
el_hist_00.1999:11:30:01:00:00
el_hist_00.1999:11:27:01:00:00
el_hist_00.1999:11:30:15:04:08
Note
In both cases a directory must be created
prior to modifying the
clean_emasslogs
script. The
clean_emasslogs
script does
not create the directory.
Note
Be aware that as files accumlate, the disk
space is reduced.