Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2836#discussion_r227623050
  
    --- Diff: store/sdk/src/main/resources/log4j.properties ---
    @@ -0,0 +1,11 @@
    +# Root logger option
    +log4j.rootLogger=INFO,stdout
    +
    +
    +# Redirect log messages to console
    +log4j.appender.debug=org.apache.log4j.RollingFileAppender
    +log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    +log4j.appender.stdout.Target=System.out
    +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    +log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} 
%-5p %c{1}:%L - %m%n
    --- End diff --
    
    Now we are using log4j Logger directly, you can add %C also in the pattern 
to print the class name


---

Reply via email to