Add a setting that allows for disabling logging PMs
Fixes #82