net/templates/osmo-bts.cfg: modernize

Move logging section to the bottom, include common_logging and
common_template_warning.

Change-Id: I7b29c644b53e4f1907f33664d6cde6ec76cc8c04
This commit is contained in:
Oliver Smith 2022-02-21 16:35:25 +01:00
parent e76581931f
commit f4ecc8d670
1 changed files with 16 additions and 20 deletions

View File

@ -1,29 +1,13 @@
!
! OsmoBTS () configuration saved from vty
!!
!
log stderr
logging filter all 1
logging print category 1
logging print category-hex 0
logging print level 1
logging print file basename last
logging print extended-timestamp 1
logging level set-all notice
logging level meas error
logging level pag error
logging level l1c error
logging level l1p error
logging level dsp error
logging level abis error
!
${include(common_template_warning)}
line vty
no login
!
phy 0
instance 0
osmotrx ip local 127.0.0.1
osmotrx ip remote 127.0.0.1
bts 0
band ${BTS_BAND}
ipa unit-id ${BTS0_IPA_UNIT}
@ -32,3 +16,15 @@ bts 0
gsmtap-sapi pdtch
trx 0
phy 0 instance 0
${foreach(LOG_OUTPUT)}
log ${LOG_OUTPUTn_TYPE}
${include(common_logging)}
logging level set-all notice
logging level meas error
logging level pag error
logging level l1c error
logging level l1p error
logging level dsp error
logging level abis error
${foreach_end}