Fix errors when LOG_VISION 1
Merge branch 'master' into fix-logging
Merge pull request #77 from yury/fix-logging

Fix logging