This is (kind of) hilarious: ```10:40:04.59 [INFO...
# development
c
This is (kind of) hilarious:
Copy code
10:40:04.59 [INFO] Completed: Building 11 requirements for requirements.pex from the 3rdparty/python/default.lock resolve: blinker, decorator, gevent, kazoo, pytest, requests, setuptools<82, six, thrift==0.11.0, types-requests, ty... (17 characters truncated)
The last part, about truncating characters... as the note about it is longer than the actual text that was truncated 😂
w
I've noticed that too - we cap at 200 characters, but our message is like 25 chars on top
Heuristics 🤷 It would be easy to make this more clever, but meh, the comment above the code expresses the sentiment well
Copy code
/* This length calculation doesn't treat multi-byte unicode charcters identically
         * to single-byte ones for the purpose of figuring out where to truncate the string. But that's
         * ok, since we just want to truncate the log string if it's roughly "too long", we don't care
         * exactly what the max_len is or whether it effectively changes slightly if there are
         * multibyte unicode characters in the string
         */
h
Yeah, easy fix though