From 88ef855d234276bb33eec2700cadaa6d4c671078 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 Jan 2018 15:07:30 +0100 Subject: Document workaround for gsmtap logging Document a way to minimize logging to stderr when gsmtap is used as a log target. Change-Id: I8e64a0075b5a4bad3f83660e0668e6de45b21008 --- common/chapters/logging.adoc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/chapters/logging.adoc b/common/chapters/logging.adoc index 1b4000b..fab4991 100644 --- a/common/chapters/logging.adoc +++ b/common/chapters/logging.adoc @@ -174,7 +174,14 @@ alongside the air frames. You can also use Wireshark to quickly filter logs for .Wireshark with logs delivered over GSMTAP image::../common/images/wireshark-gsmtap-log.png[] -Note: the logs are also duplicated to stderr when GSMTAP logging is configured. +Note: the logs are also duplicated to stderr when GSMTAP logging is configured because stderr is the default log target which is +initialized automatically. To descrease stderr logging to absolute minimum, you can configure it as follows: +---- +OsmoBSC> enable +OsmoBSC# configure terminal +OsmoBSC(config)# log stderr +OsmoBSC(config-log)# logging level all fatal +---- ==== Logging to a file -- cgit v1.2.3