Amending logging message