fixed bug which prevented logging from working in addons
Merge remote-tracking branch 'origin/master'