Improve action log driver to truncate more tightly.

Separate log processors into its own trait.
Fix some accounting (ignore sentinel size).
When truncating, read all bytes up to the limit.
Add unit tests.
Fix/tighten pre-existing test.
Replace UTF-8 string with const.
1 file changed