log token and action