nsivabalan commented on issue #6367:
URL: https://github.com/apache/hudi/issues/6367#issuecomment-1215514513

   thanks for confirming. 
   
   wrt enabling debug logs, I know the usual way to enable for any spark job. 
   
   ```
   --conf 
spark.driver.extraJavaOptions="-Dlog4j.configuration=file:/home/hadoop/log4j.properties"
 --conf 
spark.executor.extraJavaOptions="-Dlog4j.configuration=file:/home/hadoop/log4j.properties"
   ```
   
   Sample log4j props file 
   ```
   log4j.rootCategory=WARN, console
   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{1}: %m%n
   ​
   # Set the default spark-shell log level to WARN. When running the 
spark-shell, the
   # log level for this class is used to overwrite the root logger's log level, 
so that
   # the user can have different defaults for the shell and regular Spark apps.
   log4j.logger.org.apache.spark.repl.Main=WARN
   ​
   # Settings to quiet third party logs that are too verbose
   log4j.logger.org.spark-project.jetty=WARN
   log4j.logger.org.spark-project.jetty.util.component.AbstractLifeCycle=ERROR
   log4j.logger.org.apache.spark.repl.SparkIMain$exprTyper=INFO
   log4j.logger.org.apache.spark.repl.SparkILoop$SparkILoopInterpreter=INFO
   log4j.logger.org.apache.parquet=ERROR
   log4j.logger.parquet=ERROR
   ​
   # hudi entries
   log4j.logger.org.apache.hudi=DEBUG
   ```
   


-- 
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