I don't know much about log4j, but could this accidentally override Spark's own logging properties if it is the first log4j.properties file found on the classpath?