Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-529

Some Ozone DataNode logs go to a separate ozone.log file

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Done
    • None
    • None
    • Ozone Datanode

    Description

      Some, but not all DataNode logs go to a separate ozone.log file. Couple of things to fix here:

      1. The behavior should be consistent. All log messages should go to the new log file.
      2. The new log file name should follow the Hadoop log file convention e.g. hadoop-<user><service><hostname>.log

      Attachments

        Activity

          Huachao luhuachao added a comment - - edited

          https://issues.apache.org/jira/browse/HDDS-2348 

          cxorm arp, in this issue, revome the logger OZONE,FILE; the FILE logger will write the log in package org.apache.hadoop.ozone to ozone.log.

          Huachao luhuachao added a comment - - edited https://issues.apache.org/jira/browse/HDDS-2348   cxorm arp , in this issue, revome the logger OZONE,FILE; the FILE logger will write the log in package org.apache.hadoop.ozone to ozone.log.
          arp Arpit Agarwal added a comment -

          Thanks for the note Huachao. This appears to be fixed now. I no longer see log output going to ozone.log file.

          arp Arpit Agarwal added a comment - Thanks for the note Huachao . This appears to be fixed now. I no longer see log output going to ozone.log file.

          People

            cxorm Yi-Sheng Lien
            arp Arpit Agarwal
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: