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.

    Looking for a module to display logs in realtime

    Scheduled Pinned Locked Moved Unsolved Requests
    9 Posts 3 Posters 170 Views 3 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.
    • M Offline
      MyMirror @sdetweil
      last edited by

      @sdetweil
      Hi Sam,

      I haven’t written a module yet and I’m not very familiar with Linux – and even less so with nodejs, css and all the other stuff.
      Maybe someone out there would like to try their hand at programming such a module.

      1 Reply Last reply Reply Quote 0
      • S Offline
        schlomm @MyMirror
        last edited by

        @MyMirror I’ll give this a try. Ping me again if you haven’t Heard from me until the end of the week.

        M 2 Replies Last reply Reply Quote 2
        • M Offline
          MyMirror @schlomm
          last edited by

          @schlomm - great !

          1 Reply Last reply Reply Quote 0
          • M Offline
            MyMirror @schlomm
            last edited by

            @schlomm
            the requested ping :-)

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              schlomm @MyMirror
              last edited by

              @MyMirror Well done :) I’ve implemented a module last week - to give you a preview:
              With LOG-Level Highlighting:
              cbc5c327-03fb-452d-8ef2-f0c9ec916960-Screenshot 2025-10-22 170612.png

              Without Highlighting (because INFO, ERROR, WARN…) is not used:
              b878ec15-37a0-4e14-b9a8-72c862ff89e5-Screenshot 2025-10-22 170751.png

              Right now I’m struggeling with the issue that multiple instances do not show different logs but all the time the second configured. Do you need more than one instance :D?
              If I have some free time, I will upload the first version tomorrow or lately on Wednesday.

              See you :)

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @schlomm
                last edited by

                @schlomm you have to pass the instance id from the web as part of the request and send it back w the data. And the web side checks to match its id

                sendSocketNotification from the helper is to ALL connected instances at once

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • S Offline
                  schlomm
                  last edited by

                  @MyMirror Nevermind - I’ve made some changes and now all is working properly :) Your’re welcome to test it. If there is anything missing or an issue, please drop me a line.

                  0272f585-56b5-4106-a9c2-5552a624bdb6-image.png

                  • You can find the module here: https://github.com/schlomm/MMM-LogfileViewer
                  • I’ve also made a small post in the ShowCase section here: https://forum.magicmirror.builders/topic/19937/mmmlogfileviewer-view-your-logs-on-your-magicmirror
                  • And I’ve already updated the 3rd Party Module list - the module will be listed here a tomorrow.
                  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