summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-18 15:07:30 +0100
committerHarald Welte <laforge@gnumonks.org>2018-01-19 22:09:53 +0000
commit88ef855d234276bb33eec2700cadaa6d4c671078 (patch)
tree24e50f3c336f70d0726b90149a8e7fcfc3e9d64b
parentf2f37e5b19d5de0ee2aa6201cecbd66e2303a3c7 (diff)
Document workaround for gsmtap logging
Document a way to minimize logging to stderr when gsmtap is used as a log target. Change-Id: I8e64a0075b5a4bad3f83660e0668e6de45b21008
-rw-r--r--common/chapters/logging.adoc9
1 files changed, 8 insertions, 1 deletions
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