logging in SentimentAnalyzer