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

Add possibility to store log files into subfolders

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Medium Medium
    • Customer request
    • 4.5.0
    • Misc
    • eZ Publish 4.5

    Description

      If you have an eZ Publish project with many siteaccesses, it can be difficult to determine which error/warning/notice in the log files belongs to which siteaccess.

      This change allows it to define in logfile.ini whethere subfolders should be used or not (default is false so eZPublish's present behaviour is not affected).

      If set to true, subfolders with the name of the current siteaccess are created and the logfiles are created/updated in these subfolders.

      If you have three siteaccesses admin, website1 and website2, this will result in the following directory structure:

      var/log/
      admin/
      debug.log
      error.log
      notice.log
      warning.log
      website1/
      debug.log
      error.log
      notice.log
      warning.log
      website2/
      debug.log
      error.log
      notice.log
      warning.log

      with each logfile only containing those events which took place in the according siteaccess.

      I proposed an implementation at https://github.com/ezsystems/ezpublish/pull/157url

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: