Legacy logger log files, Archiving and deleting log files, Archiving – Paradyne OpenLane SLM 5.5 User Manual

Page 62: And deleting log files

Advertising
background image

7. OpenLane Maintenance

7-10

January

2002

7800-A2-GB32-00

Legacy Logger Log Files

These files are created if pdn.uhpoller.legacyLogger is enabled (set to true) in
preferences.dat:

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

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

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)

T

Deletes any file in the OpenLane logs directory that has a file extension of .arc
and was created more than 14 days ago

For more information about the clean function, see

Appendix A,

OLCmd

Reference

. The running of the clean function can be automated using cron (under

Solaris) or at (under Windows). See

Automating the Generation of Scheduled

Reports

on page 7-6 for examples.

Advertising