set logger (bug fix)
do not clone data, senseless, cause spPassword is only use in dev mode