Change winston logger to local logger