Updated detailed logging