Signature
Turns an error message into text that is equal for the same failure on two runs.
Matching is plain character scanning over ASCII classes, never regex, so the result is identical on every target. Rules, tried left to right at each position:
a path under
/tmp/,/var/tmp/,/var/folders/or/private/var/becomes<tmp>yyyy-mm-dd, optionally followed byTor a space andhh:mm:ss[.fff][Z], and a barehh:mm:ss[.fff][Z]become<time>a UUID becomes
<uuid>;0xhex and any run of 12 or more hex digits become<hex>a number glued to a unit (
ms,s,sec,min,hand their long forms) becomes<dur>digits after
pid,process,attempt,retry,try,port,line,uid,tidor#become<n>, as do[3/5]and(3/5)(as<n>/<n>) andname[1234]:digits[:digits]after a letter,>,]or an IPv4 address (ports, line and column) becomes:<n>
Secrets are masked by Redactor first, runs of whitespace collapse to one space and the result is cut at MAX_LENGTH characters.