Added logging to poms