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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Snipe-IT
  3. Is It Possible To Clear All Logs?

Is It Possible To Clear All Logs?

Scheduled Pinned Locked Moved Solved Snipe-IT
logslogrotate
4 Posts 3 Posters 193 Views 4 Watching
  • 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.
    • I Offline
      I Offline
      IniBudi
      wrote on last edited by joseph
      #1

      I've checked that some applications store many logs in logs.txt up to several hundred megabytes.

      Applications like Snipe-IT have logs.txt that are up to hundreds of megabytes.

      Is it possible to clear all logs to save our server storage automatically or periodically?

      Thank you.
      Regards

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Usually apps are setup to log to stdout/stderr where possible, then the logging and cleanup is managed by the platform. It is possible that for some apps we have missed some configs or have to add log rotation manually within the app then. In which apps besides snipe-it do you see this behavior?

        I 1 Reply Last reply
        0
        • J joseph marked this topic as a question on
        • nebulonN nebulon

          Usually apps are setup to log to stdout/stderr where possible, then the logging and cleanup is managed by the platform. It is possible that for some apps we have missed some configs or have to add log rotation manually within the app then. In which apps besides snipe-it do you see this behavior?

          I Offline
          I Offline
          IniBudi
          wrote on last edited by
          #3

          @nebulon I see the log file on Storage/Logs

          36943327-06b9-40ce-81e9-4f630611309e-image.png

          I already deleted the previous file, which was almost 300MB.

          1 Reply Last reply
          0
          • J joseph moved this topic from Support on
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            The logs are now symlinked in the latest package. What other apps have this problem?

            1 Reply Last reply
            1
            • girishG girish has marked this topic as solved on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search