7. OpenLane Maintenance
Legacy Logger Log Files
These files are created if pdn.uhpoller.legacyLogger is enabled (set to true) in
preferences.dat:
Archiving and Deleting Log Files
The clean function of OLCmd renames log files and deletes log files older than a
specified number of days. Periodic use of the command keeps your log files at a
manageable size.
For example, the command:
OLCmd clean logs .log 14
(executed in the OpenLane home directory) performs two functions. It:
T
T
For more information about the clean function, see
Reference
Solaris) or at (under Windows). See
Reports
7-10
Solaris:
/opt/pdn/OpenLane/logs/UHReader.log
/opt/pdn/OpenLane/logs/UHPoller_default.log
Windows: c:\opt\pdn\OpenLane\logs\UHReader.log
c:\opt\pdn\OpenLane\logs\UHPoller_default.log
Renames any file in the OpenLane logs directory that has a file extension of
.log to a file extension of .log_ yyyy_mm_dd .arc (where yyyy_mm_dd is the
current date)
Deletes any file in the OpenLane logs directory that has a file extension of .arc
and was created more than 14 days ago
. The running of the clean function can be automated using cron (under
on page 7-6 for examples.
January 2002
Appendix A, OLCmd
Automating the Generation of Scheduled
7800-A2-GB32-00