[log] add option to log raw invariant filter inputs and outputs