FAQ
Author: vikram
Date: Thu Apr 10 20:02:12 2014
New Revision: 1586455

URL: http://svn.apache.org/r1586455
Log:
HIVE-6876 : Logging information should include thread id (Vikram Dixit K, reviewed by Jason Dere)

Modified:
     hive/branches/branch-0.13/common/src/main/resources/hive-log4j.properties
     hive/branches/branch-0.13/ql/src/main/resources/hive-exec-log4j.properties

Modified: hive/branches/branch-0.13/common/src/main/resources/hive-log4j.properties
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/common/src/main/resources/hive-log4j.properties?rev=1586455&r1=1586454&r2=1586455&view=diff
==============================================================================
--- hive/branches/branch-0.13/common/src/main/resources/hive-log4j.properties (original)
+++ hive/branches/branch-0.13/common/src/main/resources/hive-log4j.properties Thu Apr 10 20:02:12 2014
@@ -48,7 +48,7 @@ log4j.appender.DRFA.layout=org.apache.lo
  # Pattern format: Date LogLevel LoggerName LogMessage
  #log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
  # Debugging Pattern format
-log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
+log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t]: %c{2} (%F:%M(%L)) - %m%n


  #
@@ -59,7 +59,7 @@ log4j.appender.DRFA.layout.ConversionPat
  log4j.appender.console=org.apache.log4j.ConsoleAppender
  log4j.appender.console.target=System.err
  log4j.appender.console.layout=org.apache.log4j.PatternLayout
-log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
+log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} [%t]: %p %c{2}: %m%n
  log4j.appender.console.encoding=UTF-8

  #custom logging levels

Modified: hive/branches/branch-0.13/ql/src/main/resources/hive-exec-log4j.properties
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/ql/src/main/resources/hive-exec-log4j.properties?rev=1586455&r1=1586454&r2=1586455&view=diff
==============================================================================
--- hive/branches/branch-0.13/ql/src/main/resources/hive-exec-log4j.properties (original)
+++ hive/branches/branch-0.13/ql/src/main/resources/hive-exec-log4j.properties Thu Apr 10 20:02:12 2014
@@ -38,7 +38,7 @@ log4j.appender.FA.layout=org.apache.log4
  # Pattern format: Date LogLevel LoggerName LogMessage
  #log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
  # Debugging Pattern format
-log4j.appender.FA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
+log4j.appender.FA.layout.ConversionPattern=%d{ISO8601} %-5p [%t]: %c{2} (%F:%M(%L)) - %m%n


  #
@@ -49,7 +49,7 @@ log4j.appender.FA.layout.ConversionPatte
  log4j.appender.console=org.apache.log4j.ConsoleAppender
  log4j.appender.console.target=System.err
  log4j.appender.console.layout=org.apache.log4j.PatternLayout
-log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
+log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} [%t] %p %c{2}: %m%n

  #custom logging levels
  #log4j.logger.xxx=DEBUG

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedApr 10, '14 at 8:02p
activeApr 10, '14 at 8:02p
posts1
users1
websitehive.apache.org

1 user in discussion

Vikram: 1 post

People

Translate

site design / logo © 2021 Grokbase