1st - Doing that bring serious etic issues. And it is very well explained here http://forum.teamspeak.com/threads/54181-Server-Channel-chat-loggingLog channel text messages in every single channel.
1st - Doing that bring serious etic issues. And it is very well explained here http://forum.teamspeak.com/threads/54181-Server-Channel-chat-logging
2nd - Who will want to go to your server knowing that you record all chats?
3rd - You realize that depending of how frequent is your server, the chat logs can grow serveral Gigabytes every day? In my server i log only the clients who login and logout on my server and i can tell you that it grows arround 400Mb every day. Just for you to know, to parse a file like that on notepad it takes a lot!
Why do you want to log all messages of all channels???
That is why i ask you why you want to record all chats on all channels.You see, I'm asking for suggestions towards a solution not for you to criticize what I'm trying to do.