Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL
  4. Persistent Log Storage

Persistent Log Storage

Scheduled Pinned Locked Moved VOXL
6 Posts 1 Posters 923 Views
  • 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.
  • wilkinsafW Offline
    wilkinsafW Offline
    wilkinsaf
    ModalAI Team
    wrote on last edited by wilkinsaf
    #1

    I am looking to have journald logs persist.
    I understand that journald stores logs under /var/log/journal
    However, I can see that /var/log/ is under volatile storage.

    f3997075-0c71-47cd-9667-ede88ab0ab53-image.png

    I understand that I should be logging to /data if I would like things to persist. Is there a configuration that ModalAI recommends to log service file output on VOXL?

    1 Reply Last reply
    0
    • wilkinsafW Offline
      wilkinsafW Offline
      wilkinsaf
      ModalAI Team
      wrote on last edited by
      #2

      I might end up having to specify specific log files to write to in my .service files per
      https://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardOutput=

      1 Reply Last reply
      0
      • wilkinsafW Offline
        wilkinsafW Offline
        wilkinsaf
        ModalAI Team
        wrote on last edited by
        #3

        Was going to use syslog, but saw that the service file points to null. Was wondering if this is done on purpose?

        6435fe47-e67b-46ef-b676-c657c21dcc3d-image.png

        1 Reply Last reply
        0
        • wilkinsafW Offline
          wilkinsafW Offline
          wilkinsaf
          ModalAI Team
          wrote on last edited by
          #4

          Thinking an easier way here is to just change the symbolic link here
          cf9ff767-260b-4bf6-b428-c78357d40287-image.png

          and then modify journald config file to make sure we do not fill up storage with logs

          1 Reply Last reply
          0
          • wilkinsafW Offline
            wilkinsafW Offline
            wilkinsaf
            ModalAI Team
            wrote on last edited by
            #5

            This seems to work, but not from bootup.
            Usually, the systemd-journal-flush.service watches for /var/log/journal to be mounted and then switches logging over to that folder, but that does not seem to be happening.

            Instead, I have to restart the systemd-journald.service to get it to log in the correct spot.

            Maybe because it is a symbolic link, and that is why the service does not see it mounted.... going to try and test that theory

            1 Reply Last reply
            0
            • wilkinsafW Offline
              wilkinsafW Offline
              wilkinsaf
              ModalAI Team
              wrote on last edited by
              #6

              Yeah, all systemd-journal-flush.service is doing is running journalctl --flush which is not doing anything when run manually

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups