Changed logging so non-percent encoded format of status is written.