How to creare log file for spark scala script


#1

HI All,

I have a scala script code, in that I have println statements. how do I redirect to those println statements into log file ?
Could you please suggest.

Thanks,
Prasad.