added logging to %post