implemented an extensive logging for the new priv chain