• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

coldfusion-out.log rotation not working ColdFusion 11

New Here ,
Feb 08, 2021 Feb 08, 2021

Copy link to clipboard

Copied

As I encountered a problem with the coldfusion-out.log rotation process I tried to change the value of the parameters maxOutFileBackup and maxOutLogSize in the neo-logging.xml file and restart the ColdFusion service.

 

The new parameters are not systematically taken into account and I could have coldfusion-out.log bigger than the max size defined in the xml file.

 

Content of the deployed neo-logging.xml:

 

<wddxPacket version='1.0'><header/><data><array length='2'><array length='0'></array><struct type='coldfusion.server.ConfigMap'><var name='consoleVisible'><boolean value='false'/></var><var name='maxFileSize'><number>5000000.0</number></var><var name='enableOSLogging'><boolean value='false'/></var><var name='maxOutFileBackup'><number>20.0</number></var><var name='pattern'><string>"%p","%t",%d{"MM/dd/yy","HH:mm:ss"},%a,"%m%x"%n</string></var><var name='maxOutLogSize'><number>20.0</number></var><var name='maxFileBackup'><number>11.0</number></var><var name='consolePattern'><string>%d{MMM d, yyyy HH:mm:ss a} %p [%t] - %m%n</string></var><var name='priority'><string>information</string></var><var name='logDirectory'><string>C:\ColdFusion11\cfusion\logs</string></var></struct></array></data></wddxPacket>

 

TOPICS
Server administration

Views

142

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation