Because this is used by two commands now, I made the log message more generic - the alternative could be to pass a log message in as a parameter or class property