integrate winston logger into upload module.