Merge fix for #596
Merge pull request #597 from cosmoharrigan/pln

PLN - fix for #596 and update log output option