Since the application key is private, maybe you can only log the first and last three characters and have "..." in between.