log parsing fixes

Merged Georgia Garcia requested to merge georgiag/apparmor:fix-logparsing into master

small fixes on log parsing