...
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
Code Block | ||||
---|---|---|---|---|
| ||||
accessLogRotation: { interval: "1d", maxFiles: 7 } |
Click here for information on how to modify this setting.