Add log_prints
option to redirect print to logs
#7580
Merged
log_prints
option to redirect print to logs
#7580