ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    JournalCTL output to onetime file

    Scheduled Pinned Locked Moved IT Discussion
    2 Posts 1 Posters 205 Views
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      So I'm not seeing a simple way to output journalctl messages to a onetime file that I can use "read at leisure" I do see that I can have the records constantly written to a directory.

      But this defeats the point.

      Any help, here is what I have for a command as of now.

      sudo journalctl --since="2016-07-26 23:00:00" -u xo-server -n 500
      
      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by DustinB3403

        Duh...

        sudo journalctl --since="2016-07-26 23:00:00" -u xo-server -n 500 > xo-server.txt
        
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post