small update to logging
Added purge code for php/curl