improve debug log in regard to max message size
Merge branch 'tmp' into v8-stable