MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    pm2 log gets to big (mm-out.log)

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 704 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      azuettel
      last edited by azuettel

      After a while the log file (mm-out.log) of pm2 gets to big (>22Gb) and uses all the space of my sd card. I just delete the file and everything runs fine again. I would like to know if I have to turn of the log or is there something wrong and filling my log?

      I get a calender fetcher event every few seconds

      Calendar-Fetcher: Broadcasting 12 events.

      Is that normal?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @azuettel
        last edited by sdetweil

        @azuettel edit config.js and

        change the logLevel to look like this

        logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
        

        also, pm2 flush will clear the logs

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          azuettel @sdetweil
          last edited by

          @sdetweil thanks for the suggestion, I’ve putted the line in my config and for now every thing looks fine

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy