SrinivasMote commented on issue #12854:
URL: https://github.com/apache/hudi/issues/12854#issuecomment-2705093948

   Hey @rangareddy , I have tried the log4j2 and Here is my log4j2 Settings. 
   `
   # Console Appender
   appender.console.type = Console
   appender.console.name = ConsoleAppender
   appender.console.target = SYSTEM_ERR  # Log to stderr
   appender.console.layout.type = PatternLayout
   appender.console.layout.pattern = %d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n
   
   # Loggers
   logger.ABChudi.name = org.apache.hudi.internal.DataSourceInternalWriterHelper
   logger.ABChudi.level = error
   logger.ABChudi.appenderRef.console.ref = ConsoleAppender
   
   # Root logger configuration
   rootLogger.level = error
   rootLogger.appenderRef.console.ref = ConsoleAppender`
   
   Here is teh log4j2 Libraries i was using in my pom file. 
   
   `<dependency>
               <groupId>org.apache.logging.log4j</groupId>
               <artifactId>log4j-slf4j-impl</artifactId>
               <version>2.20.0</version>
           </dependency>
           <dependency>
               <groupId>org.slf4j</groupId>
               <artifactId>slf4j-api</artifactId>
               <version>2.0.15</version>
           </dependency>
           <dependency>
               <groupId>org.apache.logging.log4j</groupId>
               <artifactId>log4j-core</artifactId>
               <version>2.20.0</version>`
   
   
   But i was trying to use bulk Insert mode while writing the data . Please let 
me know if this library is referenced internally and my log4j2 is not able to 
capture. 
   
   mean while i found that if i disable this parameter , it will disable the 
logs but will face performance issues. 
   
`[hoodie.datasource.write.row.writer.enable](https://hudi.apache.org/docs/configurations/#hoodiedatasourcewriterowwriterenable)`
   
   Thank you,
   Srinivas R Mote


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to