Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Delete event log periodically

    Support
    eventlog
    2
    3
    194
    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.
    • K
      konservenknilch last edited by girish

      I am looking for a way to clear the event log periodically. This should work in such a way that all entries older than 14 days are deleted daily. It would also be good if the deletion could be set for certain event groups.

      1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        Currently the eventlog should be purging events older than 10days https://git.cloudron.io/cloudron/box/-/blob/master/src/cron.js#L101

        There is no config option to adjust this though and I am also not sure if that is really useful, given the low amount of events and thus storage they will be using.

        Maybe in your case something doesn't work in the cleanup?

        1 Reply Last reply Reply Quote 1
        • K
          konservenknilch last edited by

          Hello, my server has only been running for a short time. It seems that the log entries are deleted after 14 days. Thanks for the support.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB