Made logging consistent between protocols