Project

General

Profile

Actions

Bug #3012

closed

Osmux: fix wrong logging category

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

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

100%

Spec Reference:

Description

src/osmux.c
92:                     LOGP(DLMIB, LOGL_ERROR, "Discarding unsupported Osmux FT %d\n",
97:                     LOGP(DLMIB, LOGL_ERROR, "Discarding bad AMR FT %d\n",
106:                    LOGP(DLMIB, LOGL_ERROR, "Discarding malformed " 
113:            LOGP(DLMIB, LOGL_ERROR,
198:                    LOGP(DLMIB, LOGL_DEBUG, "to BTS: %s\n", buf);
237:            LOGP(DLMIB, LOGL_ERROR, "too many messages for this RTP " 
295:                    LOGP(DLMIB, LOGL_ERROR, "cannot add msg=%p, " 
357:    LOGP(DLMIB, LOGL_DEBUG, "Now building batch\n");
362:            LOGP(DLMIB, LOGL_ERROR, "Not enough memory\n");
390:                    LOGP(DLMIB, LOGL_DEBUG, "to BSC-NAT: %s\n", buf);
399:                            LOGP(DLMIB, LOGL_DEBUG, "add osmux header\n");
420:    LOGP(DLMIB, LOGL_DEBUG, "invoking delivery function\n");
443:    LOGP(DLMIB, LOGL_DEBUG, "osmux_batch_timer_expired\n");
465:            LOGP(DLMIB, LOGL_ERROR,
525:            LOGP(DLMIB, LOGL_ERROR, "adding cloned RTP\n");
549:            LOGP(DLMIB, LOGL_ERROR, "circuit %u already exists!\n", ccid);
555:            LOGP(DLMIB, LOGL_ERROR, "OOM on circuit %u\n", ccid);
629:                    LOGP(DLMIB, LOGL_ERROR, "already exists " 
643:    LOGP(DLMIB, LOGL_DEBUG, "adding msg with ssrc=%u to batch\n",
652:            LOGP(DLMIB, LOGL_DEBUG, "osmux start timer batch\n");
740:    LOGP(DLMIB, LOGL_DEBUG, "initialized osmux input converter\n");
795:    LOGP(DLMIB, LOGL_DEBUG, "we are lagging %lu.%.6lu in scheduled " 
845:            LOGP(DLMIB, LOGL_DEBUG, "scheduled transmision in %lu.%6lu " 
932:                    LOGP(DLMIB, LOGL_ERROR,
953:                            LOGP(DLMIB, LOGL_ERROR, "Bad AMR FT %d, skipping\n",
961:                            LOGP(DLMIB, LOGL_ERROR,
978:                    LOGP(DLMIB, LOGL_ERROR, "Unknown OSMUX ft value %d\n",

However, we have a specific OSMUX category in libosmocore: include/osmocom/core/logging.h

#define DLMUX        -4    /*!< Osmocom Multiplex (Osmux) */

Actions #1

Updated by pespin about 6 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90
Actions #2

Updated by pespin about 6 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

Merged

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)