Replace console to winston log tool.