PMC: Use logging functions where possible
PMC: Use logging functions where possible

The only place we can't use them is after we close all the extra descriptors
after a fork() because one of them might be the underlying descriptor for
the logging module.



pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus