Revision as of 12:49, January 11, 2024 by Xavier (talk | contribs) (Xavier used the OptionPublish action.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WFM Builder:Log:x-json-log-rotation


View in ref guide.

Edit this option          Publish this option          Clear draft content


Published Option

x-json-log.rotation

Default Value: no default value
Valid Values:
Changes Take Effect: After restart
Dependencies: Used if x-json-log option is set
Introduced: 8.5.220.02

The log file's rotation strategy. Possible values:

  • never: No log rotation
  • [day,][hh]:mm: The file is rotated on specified day/time
    • day - Day is specified as a long day name (Monday, Tuesday,...) or short day name (Mon, Tue,...)
      • day can be omitted and when omitted, the log is rotated every day.
    • hh - Valid hour range is 00-23.
      • hour can be omitted, in which case log is rotated every hour.
    • mm - Valid minute range is 00-59.
      • minute must be specified.
  • daily: The file is rotated daily.
  • weekly: The file is rotated every seven days.
  • monthly: The file is rotated every 30 days.
  • <n> minutes: The file is rotated every <n> minutes, where <n> is an integer greater than zero.
  • <n> hours: The file is rotated every <n> hours, where <n> is an integer greater than zero.
  • <n> days: The file is rotated every <n> days, where <n> is an integer greater than zero.
  • <n> weeks: The file is rotated every <n> weeks, where <n> is an integer greater than zero.
  • <n> months: The file is rotated every <n> months, where <n> is an integer greater than zero and a month has 30 days.
  • <n>: The file is rotated when its size exceeds <n> bytes.
  • <n> K: The file is rotated when its size exceeds <n> Kilobytes.
  • <n> M: The file is rotated when its size exceeds <n> Megabytes.
Important

For periodic log file rotations (daily, weekly, monthly, etc.), the date and time of log file creation or last rotation are written to the first line of the log file.

Draft Option

No draft option


This page was last edited on January 11, 2024, at 12:49.
Comments or questions about this documentation? Contact us for support!