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
}
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!