It seems that log entries can be arbitrarily large, but when they're collected by the debug.zip (and I assume by the UI) through this RPC something seems to truncate them to 65KB each.
This is particularly unfortunate for query traces, which are a single entry (with many lines).