pm2-logrotate-s3
Version:
Module to rotate logs of every pm2 application and also upload to s3
63 lines (62 loc) • 1.33 kB
JSON
{
"name": "pm2-logrotate-s3",
"version": "3.0.3",
"description": "Module to rotate logs of every pm2 application and also upload to s3",
"main": "app.js",
"dependencies": {
"deep-extend": "^0.6.0",
"graceful-fs": "^4.2.6",
"moment-timezone": "^0.5.27",
"node-schedule": "^1.3.2",
"pm2": "latest",
"pmx": "latest",
"public-ip": "^4.0.0",
"s3-node": "^0.0.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sthnaqvi/pm2-logrotate-s3.git"
},
"bugs": {
"url": "https://github.com/sthnaqvi/pm2-logrotate-s3/issues"
},
"homepage": "https://github.com/sthnaqvi/pm2-logrotate-s3",
"license": "MIT",
"apps": [
{
"name": "pm2-logrotate-s3",
"script": "app.js",
"max_memory_restart": "500M"
}
],
"config": {
"max_size": "10M",
"retain": "30",
"compress": false,
"dateFormat": "YYYY-MM-DD_HH-mm-ss",
"workerInterval": "30",
"rotateInterval": "0 0 * * *",
"rotateModule": true
},
"keywords": [
"pm2",
"logs",
"rotate",
"logrotate",
"upload",
"put",
"s3",
"aws",
"bucket",
"delete",
"local",
"node js",
"node",
"js",
"process manager",
"pm2 logs"
]
}