Reputation: 169
I have implemented Winston logging in my NodeJS Application and deployed it in AWS in a docker container. each time I deploy my application into the AWS the logs are getting cleared as it is creating new docker container for that service but I need my logs to be persistent is there anyway that I can stop my logs fro being cleared
Upvotes: 1
Views: 39
Reputation: 169
I have mounted the folder to my EC2 instance then it worked fine
Upvotes: 1