logging on / off integration