Log Manager
Two tools are provided for manual cleanup of existing large log files:
Option 1: Web Interface (Recommended)
Access the web-based log manager in your browser:
https://your-site.com/rw/elements/com.realmac.corepack/api/log-manager.phpFirst Time Setup:
Access the URL in your browser
You'll see a first-time setup screen
Create a secure password (minimum 6 characters)
Password is saved and persists across updates
View stats and clean up logs with a click
Password Reset
If you ever need to reset your password, simply delete the following file from your server:
/rw/elements/com.realmac.corepack/api/.log-manager-password
The next time you access the Log Manager, you’ll be prompted to create a new password.

Once you’ve set a password and logged in, you’ll gain access to the Log Manager dashboard. From there, you can easily review log statistics, clean up all logs at once, or view and remove individual log files as needed.

Option 2: Command Line Utility
For users with SSH access:
Running the Cleanup Script Manually
Navigate to the API directory:
Run the script:
Review the output and then run cleanup:
Optional: Set Up Cron Job
For high-traffic sites, set up a weekly cron job:
Last updated
Was this helpful?

