Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1218

NCMP logs are flooded with SyncUtils logs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • Kohn Release
    • Jakarta Release
    • NCMP
    • None

      Current behavior
       
      In case of normal operation when there is no real activity in NCMP the logs are flooded with irrelevant SyncUtils log entries:

      {"logTimeStamp":"2022-08-18T15:08:20.379Z","logLevel":"INFO","traceId":"f433fddd3b2c55c2","principalId":"cpsuser","serviceName":"cps-application","message":"Total number of fetched advised cm handle( │ │ s) is (are) 0","spanId":"f433fddd3b2c55c2","processId":"1","threadName":"watchdog-th-10","class":"o.o.c.ncmp.api.inventory.sync.SyncUtils"}

                                                                  │

      {"logTimeStamp":"2022-08-18T15:08:50.420Z","logLevel":"INFO","traceId":"303a17e06d95c3f6","principalId":"cpsuser","serviceName":"cps-application","message":"Total number of fetched advised cm handle( │ │ s) is (are) 0","spanId":"303a17e06d95c3f6","processId":"1","threadName":"watchdog-th-2","class":"o.o.c.ncmp.api.inventory.sync.SyncUtils"}

                                                                   │

      {"logTimeStamp":"2022-08-18T15:09:20.460Z","logLevel":"INFO","traceId":"a368b2a28b7809ab","principalId":"cpsuser","serviceName":"cps-application","message":"Total number of fetched advised cm handle( │ │ s) is (are) 0","spanId":"a368b2a28b7809ab","processId":"1","threadName":"watchdog-th-7","class":"o.o.c.ncmp.api.inventory.sync.SyncUtils"}

                                                                   │

      {"logTimeStamp":"2022-08-18T15:09:50.497Z","logLevel":"INFO","traceId":"ad1693cd85928638","principalId":"cpsuser","serviceName":"cps-application","message":"Total number of fetched advised cm handle( │ │ s) is (are) 0","spanId":"ad1693cd85928638","processId":"1","threadName":"watchdog-th-4","class":"o.o.c.ncmp.api.inventory.sync.SyncUtils"}

                                                                   │

      {"logTimeStamp":"2022-08-18T15:10:20.539Z","logLevel":"INFO","traceId":"cc41afb3bd1dcffb","principalId":"cpsuser","serviceName":"cps-application","message":"Total number of fetched advised cm handle( │ │ s) is (are) 0","spanId":"cc41afb3bd1dcffb","processId":"1","threadName":"watchdog-th-1","class":"o.o.c.ncmp.api.inventory.sync.SyncUtils"}

                                                                   │
      │                                                                                                                                                  
       
      Expected behavior
      Less log entries or at least not on info level

      Reproduction

      -
       

      CPS version

      https://gerrit.onap.org/r/gitweb?p=cps.git;a=commit;h=060499cb5a89a0fd3d8480132ed82d2e291839dc

       

            lukegleeson lukegleeson
            csaba.eder csaba Eder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: