The commission herein created, or any committee thereof, shall have power at any time to investigate the affairs of any department of the city government, or the conduct of any officer or employee thereof; and for such purpose shall have the power to compel the attendance of witnesses, and the production of books, papers and other documents; and for that purpose shall have the power to issue subpoenas, which shall be signed by the mayor, or members of the commission making such investigation. The authority making such investigation shall also have power to cause the testimony to be given under oath. If any person so subpoenaed shall fail or refuse to answer questions propounded, or shall fail or refuse to produce any such books, papers or records, such person shall be cited by the commission, or committee thereof conducting the investigation, to appear before the ordinary of the county, who shall hear in a summary way the reasons and excuses of such person for such failure or refusal, and the ordinary shall have power to impose such punishment as for a contempt as he may see proper, not to exceed a fine of $100.00 or imprisonment not to exceed ten days, or both in the discretion of the court.