log: length of string is equal to its size in bytes