Flogging was also used in the army.  Although the cat-o-nine tails was commonly put to use,  a less severe breach of rules might get a man 30 licks with the birch broom.