I guess that you are referring to put_file stdout, in which case it it really easy. 

Let's say I use put_file in execute_python script, i would have log entry: 

put (file obj) -> /tmp/random_name.py

which i irrevelant. So i suppres these entries.