Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-13280

FileBasedWriteAheadLog logger name should be under o.a.s namespace

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: DStreams
    • Labels:
      None

      Description

      The logger name in FileBasedWriteAheadLog is currently defined as:

        override protected val logName = s"WriteAheadLogManager $callerNameTag"
      

      That has two problems:

      • It's not under the usual "org.apache.spark" namespace so changing the logging configuration for that package does not affect it
      • we've seen cases where $callerNameTag was empty, in which case the logger name would have a trailing space, making it impossible to disable it using a properties file.

        Attachments

          Activity

            People

            • Assignee:
              vanzin Marcelo Masiero Vanzin
              Reporter:
              vanzin Marcelo Masiero Vanzin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: