I know how to provide the logger properties file to spark. So my logger properties file looks something like:
log4j.r