Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2170

change logging for EventLog session starts from INFO->DEBUG

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Unresolved
    • 2.4.0
    • None
    • API
    • None

    Description

      In the grouper logs, the EventLog class logs some auditing type actions like adding, deleting, or updating objects. But it also logs every time a session is created with a "session: start" entry, which I don't think is useful except for debugging. In a healthy setup without many errors, these "session: start" entries end up being most of the grouper log. Since both the actions and the session starts are logged at INFO level, there is no way to filter out the useful information from the less than useful.

      For example:

      2019-05-31 12:25:12,449: [main] INFO  EventLog.info(156) -  - [4652a4a1935b43f2b77c35dc9b48b448,'GrouperSystem','application'] delete group: 'unc:app:temp:20190529:course:fa19:its001:instructor' (385ms)
      2019-05-31 12:25:14,546: [http-nio-8080-exec-5] INFO  EventLog.info(156) -  - [0ee501e0810749ffa8f7a1349b7a6633,'GrouperSystem','application'] session: start (1ms)
      2019-05-31 12:25:14,546: [http-nio-8080-exec-5] INFO  EventLog.info(156) -  - [83ab018c7789462cb39cfdd54066c2a4,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:14,767: [http-nio-8080-exec-4] INFO  EventLog.info(156) -  - [21bece73f13b4995af995194217c67de,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:14,769: [http-nio-8080-exec-4] INFO  EventLog.info(156) -  - [55fad1e925134ce9a8b5531d6b2f5dcc,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:14,791: [http-nio-8080-exec-1] INFO  EventLog.info(156) -  - [05840690164e40f387df53d639f5be6e,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:14,793: [http-nio-8080-exec-1] INFO  EventLog.info(156) -  - [be0c2f3204dc47ad8f3f4f0d0d00ce26,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:14,897: [http-nio-8080-exec-8] INFO  EventLog.info(156) -  - [22f967ce78a943afbb8519ee330aee7a,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:14,898: [http-nio-8080-exec-8] INFO  EventLog.info(156) -  - [12098dee2c234a839a4b1268197cb5ac,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:14,925: [http-nio-8080-exec-1] INFO  EventLog.info(156) -  - [a7c3f36cf55a4b048fd45b8c30737c03,'GrouperSystem','application'] session: start (0ms)
      2019-05-31 12:25:15,078: [http-nio-8080-exec-1] INFO  EventLog.info(156) -  - [399252fe67984b788aaae0072dc56735,'GrouperSystem','application'] session: start (0ms)
      

      Attachments

        Activity

          People

            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Smart Checklist