In cases of contempt by either party, a witness, or other persons, upon
application to the court making the appointment, the judge thereof shall take such proceedings and impose such penalty as the facts authorize or require.
1895, § 4583; Civil Code 1910, § 5129; Code 1933, § 10-103.