# Why are \showboxbreadth and \showboxdepth set to 2^{30}-1 in \loggingall?

The plain TeX format defines

\def\loggingall{\tracingcommands\tw@\tracingstats\tw@
\tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne
\tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne

This sets \showboxbreadth and \showboxdepth to \maxdimen, which is effectively 230−1 = 1,073,741,823.
But \showboxbreadth and \showboxdepth are “integer parameters”, so aren’t they supposed to be set to 231−1 = 2,147,483,647? Consider, say, an hbox containing 230−1 pairs of \kern1sp\kern-1sp (231−2 kern items).
Arguably, but latex follows plain tex here, \maxdimen is just standing for "something big" If you really have a box with more than 2^30 nodes the chance that you want to do \showbox output is... slim, so it makes little difference in practice, and back then saved using up tokens for another "big number".