pm2-logrotate | Automatically rotate all applications logs managed by PM2 | Cron Utils library

 by   keymetrics JavaScript Version: 2.7.0 License: No License

kandi X-RAY | pm2-logrotate Summary

kandi X-RAY | pm2-logrotate Summary

pm2-logrotate is a JavaScript library typically used in Utilities, Cron Utils, Nodejs applications. pm2-logrotate has no bugs, it has no vulnerabilities and it has medium support. You can download it from GitHub.

PM2 module to automatically rotate logs of processes managed by PM2.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pm2-logrotate has a medium active ecosystem.
              It has 924 star(s) with 124 fork(s). There are 24 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 67 open issues and 62 have been closed. On average issues are closed in 108 days. There are 10 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pm2-logrotate is 2.7.0

            kandi-Quality Quality

              pm2-logrotate has 0 bugs and 0 code smells.

            kandi-Security Security

              pm2-logrotate has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pm2-logrotate code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pm2-logrotate does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              pm2-logrotate releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pm2-logrotate and discovered the below as its top functions. This is intended to give you an instant insight into pm2-logrotate implemented functionality, and help decide if they suit your requirements.
            • The write function
            • Delete old files
            • Format a number to a unit .
            • Update the size of a folder for logging
            • Process a single file
            • Process appenders .
            • Get max size .
            • Update total count .
            Get all kandi verified functions for this library.

            pm2-logrotate Key Features

            No Key Features are available at this moment for pm2-logrotate.

            pm2-logrotate Examples and Code Snippets

            No Code Snippets are available at this moment for pm2-logrotate.

            Community Discussions

            QUESTION

            pm2 log-rotate with ansible
            Asked 2021-May-24 at 22:03

            I am writing an ansible playbook to perform various pm2 functions.

            I have searched a bit and cannot find an example of someone setting up pm2-logrotate.

            I believe I am close but I'm not sure my shell commands are working. When I ssh into the child node and run sudo pm2 ls it says In-memory PM2 is out-of-date, do: $ pm2 update even though I am running that command from my playbook. What am I missing here?

            ...

            ANSWER

            Answered 2021-May-24 at 22:03

            I was mixing up the users on my server. I fixed this by specifying to run as ubuntu for the update command.

            Source https://stackoverflow.com/questions/67442459

            QUESTION

            Setup PM2 LogRotate using Ecosystem JS File
            Asked 2020-Jul-06 at 08:03

            I am currently using a PM2 ecosystem file ecosystem.config.js to start multiple Node.js apps using PM2.

            ...

            ANSWER

            Answered 2020-Jul-06 at 08:03

            It is not possible. Based on pm2-logrotate author:

            It's not possible apparently since pm2-logrotate is different than pm2, pm2 is not aware beforehand if pm2-lr is already installed or not.

            Source: https://github.com/keymetrics/pm2-logrotate/issues/131

            Source https://stackoverflow.com/questions/62750857

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pm2-logrotate

            NOTE: the command is pm2 install NOT npm install.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/keymetrics/pm2-logrotate.git

          • CLI

            gh repo clone keymetrics/pm2-logrotate

          • sshUrl

            git@github.com:keymetrics/pm2-logrotate.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Cron Utils Libraries

            cron

            by robfig

            node-schedule

            by node-schedule

            agenda

            by agenda

            node-cron

            by kelektiv

            cron-expression

            by mtdowling

            Try Top Libraries by keymetrics

            pmx

            by keymetricsJavaScript

            pm2-server-monit

            by keymetricsJavaScript

            pm2-auto-pull

            by keymetricsJavaScript

            pm2-io-apm

            by keymetricsTypeScript

            vizion

            by keymetricsJavaScript