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>
Have something to add?