Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44302

Reduce Ignite logging

    XMLWordPrintable

    Details

    • 21 Status:
      Resolved
    • Test Plan:
      1. watch the logs
      2. verify the Ignite stats messages are not seen by default

      Description

      The Ignite stats logging is a little too noisy. It currently spits out the following every 60 seconds:

      15-Sep-2020 11:38:53.784 INFO [grid-timeout-worker-#31%localhost%] org.apache.ignite.internal.IgniteKernal%localhost.info FreeList [name=default##FreeList, buckets=256, dataPages=5, reusePages=0]
      15-Sep-2020 11:39:53.785 INFO [grid-timeout-worker-#31%localhost%] org.apache.ignite.internal.IgniteKernal%localhost.info 
      Metrics for local node (to disable set 'metricsLogFrequency' to 0)
          ^-- Node [id=911f446c, name=localhost, uptime=01:31:00.446]
          ^-- H/N/C [hosts=1, nodes=1, CPUs=12]
          ^-- CPU [cur=0.07%, avg=0.3%, GC=0%]
          ^-- PageMemory [pages=40261]
          ^-- Heap [used=572MB, free=70.18%, comm=1462MB]
          ^-- Off-heap [used=158MB, free=98.39%, comm=336MB]
          ^--   sysMemPlc region [used=0MB, free=99.21%, comm=40MB]
          ^--   default region [used=157MB, free=98.36%, comm=256MB]
          ^--   TxLog region [used=0MB, free=100%, comm=40MB]
          ^-- Outbound messages queue [size=0]
          ^-- Public thread pool [active=0, idle=0, qSize=0]
          ^-- System thread pool [active=0, idle=6, qSize=0]
      15-Sep-2020 11:39:53.785 INFO [grid-timeout-worker-#31%localhost%] org.apache.ignite.internal.IgniteKernal%localhost.info FreeList [name=default##FreeList, buckets=256, dataPages=5, reusePages=0]
      

      This logging is useful, but not OOTB. This should be turned off by default, and we should have some sort of easy sakai.property to turn it on and configure the frequency of it's output.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  bjones86 Brian Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration