Project

General

Profile

Actions

Bug #3001

closed

OsmoBTS logs CDCX/MDCX at wrong level + wrong format

Added by laforge about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/25/2018
Due date:
% Done:

100%

Spec Reference:

Description

During CRCX/MDCX handling, OsmoBTS currently prints logs like:

DRSL <0000> rsl.c:1540 (bts=0,trx=0,ts=1,ss=0) RSL Tx IPAC_CRCX_ACK (local 127.0.0.1:24842, remote 127.0.0.2:0)
DRSL <0000> rsl.c:2690 (bts=0,trx=0,ts=1,ss=0) Rx RSL IPAC_MDCX
DRSL <0000> rsl.c:1710 connect_ip 750716010 
DRSL <0000> rsl.c:1717 connect_port 53894 
DRSL <0000> rsl.c:1726 speech mode: none
DRSL <0000> rsl.c:1732 payload type: none
Which has the following problems:
  • several lines instead of one single line for CRCX/MDCX. Use LOGPC or first collect all information before calling LOGP.
  • NOTICE log level is clearly wrong for the most normal events happening. DEBUG or INFO are ok, but definitely not NOTICE.
  • IP addresses print as signed integer is totally useless for any human reader

Assigning to dexter who introduced the current log format in Change-Id: Ifaa253e5baed5ca364dfbc046a7cb559f106bfbd

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)