We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run pm2 flush <app_id> or pm2 flush <app_name> pm2 do not flushed the specific logs but indicates that it has been done :
pm2 flush <app_id>
pm2 flush <app_name>
root@vps:/home/node# pm2 flush 2 [PM2] Logs flushed root@vps:/home/node# pm2 flush appName [PM2] Flushing: [PM2] /var/www/dev/logs/out.log [PM2] /var/www/dev/logs/error.log [PM2] Logs flushed
If I run pm2 flush it works and clears all logs from all apps.
pm2 flush
================================================ --- Daemon ------------------------------------------------- pm2d version : 3.5.1 node version : 8.10.0 node path : not found argv : /usr/bin/node,/usr/local/lib/node_modules/pm2/lib/Daemon.js argv0 : node user : root uid : 0 gid : 0 uptime : 76min ================================================ --- CLI ---------------------------------------------------- local pm2 : 3.5.1 node version : 8.10.0 node path : /usr/local/bin/pm2 argv : /usr/bin/node,/usr/local/bin/pm2,report argv0 : node user : root uid : 0 gid : 0 ================================================ --- System info -------------------------------------------- arch : x64 platform : linux type : Linux cpus : Intel Core Processor (Haswell, no TSX) cpus nb : 2 freemem : 6804459520 totalmem : 8165056512 home : /root ================================================
The text was updated successfully, but these errors were encountered:
Using the latest version (5.1.0), pm2 flush <app_name> works, but pm2 flush <app_id> does not.
Sorry, something went wrong.
even pm2 flush <app_name> does not work
No branches or pull requests
What's going wrong?
When I run
pm2 flush <app_id>
orpm2 flush <app_name>
pm2 do not flushed the specific logs but indicates that it has been done :If I run
pm2 flush
it works and clears all logs from all apps.PM2 report
The text was updated successfully, but these errors were encountered: