amend logging