I\'m trying to use log4j to write messages to a file in Scala Spark. I set log4j.properties in my application in this way:
val log4jConfPath : String ="/opt/