Modifying the /etc/spark/conf/log4.properties file

Dear Support,

I am trying to modify line: log4j.rootCategory=ERROR, console
I want to change from “ERROR” to “INFO” so I can see the tracking URL when running pyspark in yarn mode just like in the Udemy course but it seems like I need root access. How can I fix this?

Thanks,

Asier