How to create log files

Hi ,

I am trying to write log files using logback.xml and but unsure how to redirect all my print() statements in scripts activities to this file.

Currently, all these are redirecting to catalina.log file (console of the server).

Thanks,
Abhishek