Moving logging message (to only log when modifications have been made)