Removed some useless loggers. Changed 'console' to 'logger'