Closed YathishK closed 5 years ago
Why are you wishing to change this?
The application with sample size of 10K run creating huge log on driver and worker nodes. Often times the browser is not responding, so by limiting the log messages to warning and errors, it would be easy to navigate.
@YathishK Could you clarify what you mean by browser? Are you not running things from the command line? Perhaps I'm not fully understanding your meaning. I would not recommend opening log files in a browser. But again, I may not understand your question.
log4j.properties controls the log generated in Spark driver and worker nodes. can we change log4j.rootCategory=INFO, console, file to log4j.rootCategory=WARN, console in log4j.properties file
Yes, you can set up the logging however you like. I think we were using that configuration for debugging purposes.
stderr will take us to the log file.
Thank you
log4j.properties controls the log generated in Spark driver and worker nodes. can we change
log4j.rootCategory=INFO, console, file to log4j.rootCategory=WARN, console in log4j.properties file