Section 3. If it appears to the commissioners, from the report of their committee or otherwise, that any law relative to prisons has been violated or neglected in their county, they shall forthwith give notice thereof to the district attorney.