ms_srs: add config scheme to select NAS log level

we've provided only all_log_level so far but sometimes it's needed
to select the level per layer. This patch adds the ability
to do so for the NAS layer in the UE.

Change-Id: Iab2bce65e8af81f6d344849c97952e6441cb2846
This commit is contained in:
Andre Puschmann 2021-02-23 11:47:53 +01:00 committed by Pau Espin Pedrol
parent 2bc8311ea7
commit c487f7438c
3 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,7 @@ def on_register_schemas():
config_schema = {
'enable_pcap': schema.BOOL_STR,
'log_all_level': schema.STR,
'log_nas_level': schema.STR
}
schema.register_config_schema('modem', config_schema)

View File

@ -109,6 +109,7 @@ phy_lib_level = none
all_hex_limit = 32
filename = ${ue.log_filename}
file_max_size = -1
nas_level = ${ue.log_nas_level}
#####################################################################
# USIM configuration

View File

@ -181,6 +181,7 @@ srsue:
rx_gain: 40
freq_offset: 0
log_all_level: warning
log_nas_level: warning
amarisoftue:
tx_gain: 89