Closed jjordan-quantum closed 7 months ago
The workers threads are automatically closed and collected if there are no references to them anymore.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
If I create a new instance of pino logger, and the previous instance no longer has any references (goes out of scope), what will be the consequence? I am looking for a function exposed in the API for pino to close a file, or exit worker thread. This is to rotate log files every day, and I am wondering if after 30 days there will be 30 files still open and 30 dangling worker threads.