Log chat and categorize logs