logger should be private.
simplified spring config