disable function LogVisitor