i am using winston for logs. If user searches with some keywords, i am generating log file with unique name (Ex: "search-1.log") for ever
winston
(Ex: "search-1.log")