accessLogRotation

 

 

This option was added in Profound.js 6.5.0

 

This setting can be set to an object to enable and set options for access log file rotation. The object is passed directly to the rotating-file-stream module. The path option is forced to the Profound.js instance's log directory. All other options are passed along as-is. This option is ignored if accessLog is not enabled.


Example - Rotate Daily at Midnight and Retain 7 Files
accessLogRotation: { interval: "1d", maxFiles: 7 }

Click here for information on how to modify this setting.