NodeJS winston log file not change upon size limit As you can see here the maxsize must be in bytes so change it for 10000000