register and deregister logging