XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Clearing restore log

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    6 Posts 3 Posters 1.5k 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
      axiom00
      last edited by

      It's purely cosmetic, but I am looking for a way to clear the log on the restore tab. I had previously restored a VM, did some testing and then deleted the restored vm from the pool.

      50601c6a-0380-4161-ae03-9a1e90e2cda5-image.png

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Ping @julien-f or @pdonias

        1 Reply Last reply Reply Quote 0
        • pdoniasP Offline
          pdonias Vates 🪐 XO Team
          last edited by

          Hi @axiom00, it's not possible to clear the logs from the UI. We purposely removed the feature because the logs are very useful to investigate on a problem and they were too often deleted by mistake. Let us know what you think about this 🙂

          1 Reply Last reply Reply Quote 0
          • A Offline
            axiom00
            last edited by

            @pdonias I am ok with it not being in the UI as it's not a function I will need frequently. Can you tell me how I can remove this log entry via CLI? Thanks!

            1 Reply Last reply Reply Quote 0
            • pdoniasP Offline
              pdonias Vates 🪐 XO Team
              last edited by

              Sure! Make sure you're connected to XO with xo-cli and then:

              $ xo-cli log.delete namespace=restore id=1570142063787
              
              A 1 Reply Last reply Reply Quote 0
              • A Offline
                axiom00 @pdonias
                last edited by

                @pdonias Works perfectly! Thank you!

                1 Reply Last reply Reply Quote 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
                • First post
                  Last post