Adding logging of token key.