fix regex for greetings
fix logging of normal messages