Do not process compiler pass if annotations are not enabled

* Move logger definition to data_collectors.xml