Uploaded image for project: 'Near Realtime RAN Intelligent Controller'
  1. Near Realtime RAN Intelligent Controller
  2. RIC-627

Timestamp values in RMR log output lack milliseconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • Dawn-R7
    • None
    • rmr

      When RMR starts it emits log messages.  The timestamp value on the messages seems to be in seconds, which I figured out with help from https://www.epochconverter.com.  But the output should have milliseconds like what is printed by the MDCLog library, the python version is used here.  

      In the output below, RMR prints TS value 1595585372 which is  Friday, July 24, 2020 6:09:32 AM GMT-04:00 DST.  MDCLogPy prints TS value 1595585372982 which is Friday, July 24, 2020 6:09:32.982 AM GMT-04:00 DST. Note the additional milliseconds.  

      tests/test_alarm.py 1595585370 99/RMR [INFO] ric message routing library on SI95/g mv=3 flg=00 (6b03695 4.1.2 built: Jun 24 2020)
      1595585371 99/RMR [INFO] sends: ts=1595585371 src=2fe628b74a71:4566 target=127.0.0.1:4567 open=0 succ=0 fail=0 (hard=0 soft=0)
      1595585371 99/RMR [INFO] sends: ts=1595585371 src=2fe628b74a71:4566 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0)
      1595585371 99/RMR [INFO] sends: ts=1595585371 src=2fe628b74a71:4566 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0)
      1595585371 99/RMR [INFO] sends: ts=1595585371 src=2fe628b74a71:4566 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0)
      1595585372 99/RMR [INFO] sends: ts=1595585372 src=2fe628b74a71:4567 target=127.0.0.1:4567 open=0 succ=0 fail=0 (hard=0 soft=0)
      1595585372 99/RMR [INFO] sends: ts=1595585372 src=2fe628b74a71:4567 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0)
      1595585372 99/RMR [INFO] sends: ts=1595585372 src=2fe628b74a71:4567 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0)
      1595585372 99/RMR [INFO] sends: ts=1595585372 src=2fe628b74a71:4567 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0)
      sigenaddr: error from getaddrinfo: target=0:a host=0 port=a(port): error=(-8) Unrecognized service
      {"ts": 1595585372982, "crit": "ERROR", "id": "ricxappframe.alarm.alarm", "mdc": {}, "msg": "init: missing env var(s) ALARM_MGR_SERVICE_NAME, ALARM_MGR_SERVICE_PORT"}
      

        # Subject Branch Project Status CR V

            EScottDaniels Scott Daniels
            cl778h Chris Lott
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: