clean up logging, fix curl in Catalog