change logging severity
fix quality flaws