add log for tokenizer