print out a maximum of 1000 chars when logging device messages

What do you guys think about this? I hate when logging protocol traffic and you go to a page with huge sources and your terminal just fills up with garbage. Makes the logging useless. This truncates the messages to a 1000 char limit. Maybe we could make this a pref?