save rjs output to log file