Added logging for most actions