Change logging method to POST