| To aid in determining which nodes are submitting large factsets, catalogs, or reports, when the special header set by the terminus is present we should log that size in the access logs. When it's not present, it would be nice if we could log something that indicates it is not present (the standard for that log might be a "-"?), but zero would likely suffice too, as no real command would have that size. Stashing it in the MDC should make it available to the access logs https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/MDC.html example in puppetserver of storing someting in the MDC - https://github.com/puppetlabs/puppetserver/pull/1689 the access log pattern is then controlled by a pattern defined in /etc/puppetlabs/puppetdb/request-logging.xml |