Change in osmo-gsm-tester[master]: amarisoft_enb.cfg.tmpl: expose log options

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

srs_andre gerrit-no-reply at lists.osmocom.org
Tue Jun 16 14:57:09 UTC 2020


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18864 )


Change subject: amarisoft_enb.cfg.tmpl: expose log options
......................................................................

amarisoft_enb.cfg.tmpl: expose log options

this allows to alter the log options through a modifier

Change-Id: Iecd24afe6b242fbebc8463c9e1fa1c3b60b27d01
---
M src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
M sysmocom/defaults.conf
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/64/18864/1

diff --git a/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
index 5690da9..c02192c 100644
--- a/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
@@ -29,8 +29,7 @@
      - 'max_size': set the maximum size of the hex dump. 0 means no
        hex dump. -1 means no limit.
   */
-  //log_options: "all.level=debug,all.max_size=32",
-  log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,s1ap.level=debug,s1ap.max_size=1,x2ap.level=debug,x2ap.max_size=1,rrc.level=debug,rrc.max_size=1",
+  log_options: "${enb.log_options}",
   log_filename: "${enb.log_filename}",
 
   /* Enable remote API and Web interface */
diff --git a/sysmocom/defaults.conf b/sysmocom/defaults.conf
index 6694652..b113545 100644
--- a/sysmocom/defaults.conf
+++ b/sysmocom/defaults.conf
@@ -149,6 +149,7 @@
   enable_pcap: false
   tx_gain: 89
   rx_gain: 60
+  log_options: all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,s1ap.level=debug,s1ap.max_size=1,x2ap.level=debug,x2ap.max_size=1,rrc.level=debug,rrc.max_size=1
 
 srsue:
   enable_pcap: false

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18864
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Iecd24afe6b242fbebc8463c9e1fa1c3b60b27d01
Gerrit-Change-Number: 18864
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200616/474d9223/attachment.htm>


More information about the gerrit-log mailing list