Added logging to stings