Remove constant defined in parent class.
Fix variable reference to logger.
More cleanups to the logger interface and make the listener use the logger for its output.