Logging fixes and improvements; added annotation for param conversion