comment out more code and fix logger in MYSQL