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. Support
  3. Disable healthcheck call in logs?

Disable healthcheck call in logs?

Scheduled Pinned Locked Moved Solved Support
logs
4 Posts 3 Posters 383 Views 3 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.
  • E Offline
    E Offline
    ekevu123
    wrote on last edited by girish
    #1

    In my custom app, can I disable the healthcheck call every few seconds? I don't feel that this is helpful.

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

      There is no way to disable it, this is required for Cloudron to determine if an app is up and running and tracking its state. The single request on the local network is very cheap. Depending on your use-case sometimes the logs caused by that are annoying, but if this is a custom app, just disable the logging for that route I guess.

      1 Reply Last reply
      0
      • girishG girish marked this topic as a question on
      • E Offline
        E Offline
        ekevu123
        wrote on last edited by
        #3

        I understand that the healthcheck is required, I just want to avoid showing it in the logs.
        But okay, I will see if I can disable that in the custom code.

        1 Reply Last reply
        0
        • nebulonN nebulon has marked this topic as solved on
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #4

          You can test on the User agent string. See https://docs.cloudron.io/apps/lamp/#health-check for an example

          1 Reply Last reply
          0
          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