bash script to set up logs for a redmatrix installation