Fix logging

Fix errors when LOG_VISION 1