Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7707

logrotate configuration file is overwritten upon CDAP upgrade

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 4.0.0
    • Component/s: Log, Master
    • Labels:
    • Release Notes:
      Files installed by the "cdap" package under /etc are now properly marked as config files for RPM packages.
    • Rank:
      1|hzzpa7:

      Description

      If `logrotate` is installed on the server, we ship a file `/etc/logrotate.d/cdap` which looks like this:

      /var/log/cdap/*-cdap-*.log {
          rotate 7
          daily
          missingok
          notifempty
          copytruncate
          compress
      }

      If user modifies this, then their modifications will be overwritten upon a CDAP install/upgrade.

        Attachments

          Activity

            People

            • Assignee:
              chris Chris Gianelloni
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: