Print message length in log