slightly reformat log message, print log message before copying