The council may appoint a city clerk to keep a journal of the proceedings of the city council; to maintain in a safe place all records and documents pertaining to the affairs of the city; and to perform such other duties as may be required by law or as the council may direct.