add Brendans policy logging code