Logging of api key