[MERGED] osmo-gsm-manuals[master]: Document workaround for gsmtap logging

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Jan 19 22:09:53 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: Document workaround for gsmtap logging
......................................................................


Document workaround for gsmtap logging

Document a way to minimize logging to stderr when gsmtap is used as a
log target.

Change-Id: I8e64a0075b5a4bad3f83660e0668e6de45b21008
---
M common/chapters/logging.adoc
1 file changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 .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
 

-- 
To view, visit https://gerrit.osmocom.org/5865
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8e64a0075b5a4bad3f83660e0668e6de45b21008
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list