My Oracle Support Banner

How to Implement Log Rotation Using smsLogCleaner (Doc ID 1318423.1)

Last updated on NOVEMBER 13, 2023

Applies to:

Oracle Communications Network Charging and Control - Version 2.2.0 to 4.4.0 [Release 2.2 to 4.4]


If you need to archive log files in an automated way, it is a good idea to use the smsLogCleaner. The smsLogCleaner is a binary - launched from a cronjob - that is configured to manage specific files.

smsLogCleaner archives based on two parameters:

smsLogCleaner looks for old or large files in the particular directory, any files found there will be moved into the archive subdirectory and purge them from the originating directory.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 1. Define the Cronjob
 2. Setup the Launcher - the <user_dedicated_directory_name> Startup Script
 3. Setup the Main Program - the smsLogCleaner Binary
 4. Define the Configuration file - <user_dedicated_directory>_logjob.conf

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.