Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16148

allow custom log file rotation handler

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • Customer request
    • 4.3.0alpha1
    • Misc
    • None

    Description

      allow the administrator to use, for instance 'logrotate.d', to rotate eZ Publish logs.

      basically, we just need to add a setting for disabling logrotation (default = enabled).
      the the administrator just sets up logrotate.d to handle the eZ Publish logs.

      a possible consequence that needs to be considered:
      since extensions may create and append data to their own log files (hopefully stored under $logDir), there is a chance that the administrator may not be aware of this file, and fail to configure logrotate.d to handle this 'extra' log file.

      a solution to this scenario would be to allow disable/enable logrotation per log file or module (or php class), whichever is more feasible.
      the effect will be that if you add a module that generates log output to a custom file, then it will be rotated by eZ Publish by default, unless the administrator specifically disables the built-in rotation for that file.

      Attachments

        Activity

          People

            unknown unknown
            jkn jkn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: