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

    Solved Clearing restore log

    Xen Orchestra
    3
    6
    508
    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
      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
        olivierlambert Vates πŸͺ Co-Founder🦸 CEO πŸ§‘β€πŸ’Ό
        last edited by

        Ping @julien-f or @pdonias

        1 Reply Last reply Reply Quote 0
        • pdoniasP
          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
            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
              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
                axiom00 @pdonias
                last edited by

                @pdonias Works perfectly! Thank you!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post