How enable spark debug logs

Sorry for the newb question. My searches didn’t help.

I am trying to write logs on the my spark client plugin to debug.txt via Log.debug(""); This compiles but does not write to debug.txt

However Log.warning(""); successfully writes to the error.txt file.

What am I missing here? thanks!