Fix this non sense
Use logger
More fixes for #1976. Allow listener to be defined as META-INF/services