removed a logger call from within a function