Made key and secret logging output cleaner.