Eliminate pointless string creation
Limit the length of logged messages