Fixed bug in logger api key transfer