added redirect tracing print-outs.