fixing logging problems with get method