Support
- Advanced Backup
- Client Side
- Cloud Enterprise
- ColdFusion
- Captcha
- Cf Faq
- Cfc
- Cfcontent
- Cfmail
- Cfobject
- Cfsqlinjection
- Cftags
- Cfximagecr
- Customtag
- Dsnless
- Flash_form
- Reserved Words
- Tagsfunctions
- Cfusion
- Upgrade JVM for ColdFusion on Windows
- ColdFusion Error: Server monitoring and API is not available in this edition of ColdFusion Server
- Create a CFIDE mapping under IIS7
- Reset the ColdFusion Administrator password
- CFIDE FAQ
- Microsoft Access DSN in ColdFusion for 64-bit machines
- Using cfexchange tag with Hosted Messaging and Collaboration
- Create a CFIDE mapping under IIS6
- Use a Redirect Script in ColdFusion
- Access DSN on 64bit Windows ColdFusion
- Browseserver
- Configure Log Rotation for ColdFusion -out Logs
- Control Panel
- cPanel
- Customer Portal
- DNS Information
- Dedicated Servers
- DirectAdmin
- Domain Name
- dotDefender
- Dreamweaver
- FileCatalyst
- Front Page
- FTP
- General Information
- Hosted Exchange & SharePoint
- IIS6
- IIS7
- Juniper Netscreen Firewalls
- Linux
- List Server
- MIVA Merchant
- MySQL
- Patching / Server Updates
- phpMyAdmin
- Plesk
- Policies and Procedures
- Premium Spam Filtering
- Programming
- Ruby on Rails
- Search Engine Submission
- SharePoint 3
- SharePoint 2010
- SiteDesigner
- SmarterMail 3
- SmarterMail 4
- SmarterMail 5
- SmarterMail 6
- SmarterMail 7
- SmarterStats
- SmarterTrack
- SQL Server
- Secure Socket Layer (SSL)
- Uploading Your Website
- Video Tutorials
- Windows Server 2003
- Windows Server 2008
- Web Design
- WordPress
- Advanced Monitoring
- MediaWiki
- Enkompass
- Microsoft Outlook 2010
- Android
- Outlook Web Access
- Critical Availability Service
- NAS Data Transfer
- Customer Portal Demos
- Joomla
- Moodle
- Cloud Dedicated
- Gallery CMS
- phpBB
- Standard Monitoring
- Righteous Restore
- NAS (Network Attached Storage)
- Networking
- SmarterMail 8
- PCI Security Scan
- LinkTiger
- Windows Cloud VPS
- Linux Cloud VPS
- Linux VPS
- Windows VPS
- Hyper V
- ENSIM
- Alert Logic
- Webmin
- e107
- Vbulletin
- VPN
- Visual Vault
- Mozilla Thunderbird
- PyroCMS
- Active Directory
- Vmware Related
- Drupal
Configure Log Rotation for ColdFusion -out Logs
This article describes how to set log rotation size and max number of logs to keep for the CF -out logs which are not rotated through the ColdFusion Administrator.
By default the wrapper for ColdFusion Application Server will keep 200 ColdFusion -out logs at 200k per file. This value can be adjusted by adding the following registry keys using the commands below.
Maximum file size (KB) - "When a file reaches this size, it is automatically archived."
Maximum number of archives - "After reaching this limit, files are deleted in order of oldest to newest."
In my examples I am setting ColdFusion to only save 10 -out files at 1024K (1Mb) each; adjust these values to meet your needs.
ColdFusion 7
REG ADD "HKLM\System\CurrentControlSet\Services\ColdFusion MX 7 Application Server" /v LogFileRotationLimit /t REG_DWORD /d 10 /f
REG ADD "HKLM\System\CurrentControlSet\Services\ColdFusion MX 7 Application Server" /v LogFileSize /t REG_DWORD /d 1024 /f
ColdFusion 8
REG ADD "HKLM\System\CurrentControlSet\Services\ColdFusion 8 Application Server" /v LogFileRotationLimit /t REG_DWORD /d 10 /f
REG ADD "HKLM\System\CurrentControlSet\Services\ColdFusion 8 Application Server" /v LogFileSize /t REG_DWORD /d 1024 /f
ColdFusion 9
REG ADD "HKLM\System\CurrentControlSet\Services\ColdFusion 9 Application Server" /v LogFileRotationLimit /t REG_DWORD /d 10 /f
REG ADD "HKLM\System\CurrentControlSet\Services\ColdFusion 9 Application Server" /v LogFileSize /t REG_DWORD /d 1024 /f
