log tokens