update log message printing