Uploaded image for project: 'LCGDM Development'
  1. LCGDM Development
  2. LCGDM-2246

dpm-gsiftp main process keeps logging to old files after log rotations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: DPM DSI 1.9.12
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      from D. Van Dok

      Hi,

      just found out that, while we rotate our gridftp log files daily, the
      daemon keeps writing to the old log file. Short of restarting the
      daemon, is there a way to tell it to use the new log file?

      It doesn't concern most of the logging as the daemon forks a new process
      for every transfer, and that process will open the current log file and
      use it, but the mother keeps writing all these lines to the old one for
      many days after, messing with the time stamps of the old files.

      [14800] Wed Nov 9 18:02:06 2016 :: Child process 5882 ended with rc = 0

      (many lines like these)

      Cheers,

      Dennis

        Attachments

          Activity

            People

            Assignee:
            kiryanov Andrey Kirianov
            Reporter:
            amanzi Andrea Manzi
            Component Watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: