Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejs
titleExample - Rotate Daily at Midnight and Retain 7 Files
  accessLogRotation: {
    interval: "1d",
    maxFiles: 7
  }

Click here for information on how to modify this setting.