Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11304 Migrate to Log4j2 from Log4j 1.x
  3. HIVE-12402

Split hive.root.logger separately to make it compatible with log4j1.x

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Logging
    • Labels:
    • Target Version/s:

      Description

      With new Log4j2.x specifying logger name and log level together will not work.

      With old logger following will work
      --hiveconf hive.root.logger=DEBUG,console

      But with new logger we should specify logger and level separately
      --hiveconf hive.root.logger=console --hiveconf hive.log.level=DEBUG

      We can do this change internally for users still using the old configs.

        Attachments

        1. HIVE-12402.patch
          2 kB
          Prasanth Jayachandran

          Issue Links

            Activity

              People

              • Assignee:
                prasanth_j Prasanth Jayachandran
                Reporter:
                prasanth_j Prasanth Jayachandran
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: