How to set path for .log.attempt*.err and attemp*.out generated by streaming python?

Clash Royale CLAN TAG#URR8PPP
How to set path for .log.attempt*.err and attemp*.out generated by streaming python?
I have written a python udf and using it in pig in foreach generate statement.
when udf is registered as streaming_python, i have observed that it is generating some logs file as below:-
attempt_local1759475322_0001_m_000000_0_cpython_column_gen_7d636260-1589-4a88-b82e-7e64a5d8508c.out
attempt_local1759475322_0001_m_000000_0_cpython_column_gen_7d636260-1589-4a88-b82e-7e64a5d8508c.err
attempt_local1759475322_0001_m_000000_0_column_gen_python.log
How we can set path for this logs getting generated ?
Also if I register udf as jython it is not generating any such logs.
What could be the difference in jython and streaming_python in this context ?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.