amend some logging