update log printing