Project

General

Profile

Actions

Bug #5058

closed

SGSN doesn't create any NS level logging, even with "logging level ns debug"

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

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
03/04/2021
Due date:
% Done:

100%

Spec Reference:

Description

When osmo-sgsn was ported to ns2, in commit FIXME, the call to gprs_ns_set_log_ss(DNS) was removed, which means that libosmogb doesn't have any value set for the "DNS" integer, which in turn means we never see any logging, even if "logging level ns debug" is used in the log config.

I suspect similar bugs might exist for osmo-pcu and osmo-gbproxy, but I haven't yet investigated.

The best option would have been to remove the "DNS" integer and move over to a "DLNS" constant (like almost all other libraries are doing by now), but unfortunately that will break configuration files and hence cannot be done anymore now that everything is released.

We have to either declare gprs_ns_set_log_ss() in a public ns2 header or create a new gprs_ns2_set_log_ss() with identical implementation.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)