reverted some useless debugging

param is unused
and the caller already logs whether func is Info or Write.
changelog, version