I am using winston-daily-rotate-file to rotate file when they exceed a particular size say 10k
below is my code
var winston = require(\'winston\'); req