{"agent":"claude","input":"Add log rotation to the Winston logger. Read package.json, src/config/logger.js, src/config/morgan.js, src/config/config.js, src/middlewares/error.js, ecosystem.config.json, Dockerfile, .dockerignore and .gitignore first. Add winston-daily-rotate-file and a DailyRotateFile transport beside the existing Console transport, with a dated filename, a maxSize, maxFiles as days, zipped archives and a dirname from a new LOG_DIR config value validated in config.js with a default. Give the file transport a timestamped JSON format and keep the console format as it is. Do not add the file transport in the test environment. Ignore the log directory in git and Docker and create it writable for the node user in the Dockerfile. Install a MongoDB server in the sandbox, start the app with a small maxSize, send requests until a file rolls, list the directory, restore the real values, run yarn test and yarn lint, and open a pull request with the listing.","resources":[{"url":"https://github.com/your-org/your-app"}]}