<div dir="ltr">Thank you for your detailled answer :)<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Cyril</div></div>
<br><div class="gmail_quote">2018-03-02 17:44 GMT+01:00 Pau Espin Pedrol <span dir="ltr"><<a href="mailto:pespin@sysmocom.de" target="_blank">pespin@sysmocom.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cyril,<br>
<br>
I am currently in the process of modifying osmo-trx to use several components from libosmocore, such as configuration handling through VTY, a CTRL interface and logging system.<br>
<br>
This work is mostly done but only the first steps have been merged. The pending patches can be found in [1] and I expect to continue work on them next week.<br>
<br>
I also plan to make a new release in a new branch 0.3.0 based on master c92dad32dd403d84617236e98db892<wbr>d7d285cd35, that is before dependency to libosmocore was added.<br>
<br>
As you may have noticed already, in the current state of master you must already pass a .cfg file in order to start osmo-trx. This .cfg file has the same format as all other osmocom related projects. The logging is configured through this cfg file (actually, it's mostly the only thing that the cfg file configures at this point in current master).<br>
<br>
In later commits (still not merged), as sample cfg file is added to the repo in doc/examples/osmo-trx*.cfg. In the current master state, you should pass a file containing something like this:<br>
<br>
!<br>
! OsmoHLR example configuration<br>
!<br>
log stderr<br>
  logging filter all 1<br>
  logging color 1<br>
  logging print category 1<br>
  logging timestamp 1<br>
  logging print extended-timestamp 1<br>
  logging level all debug<br>
!<br>
line vty<br>
 bind 127.0.0.1<br>
ctrl<br>
 bind 127.0.0.1<br>
<br>
Then, as of now still call osmo-trx the same way you used to do (you can omit the -l param) and add a capital C parameter with the config file:<br>
<br>
./osmo-trx ... -C osmo-trx.cfg<br>
<br>
[1] <a href="https://gerrit.osmocom.org/#/c/6651" rel="noreferrer" target="_blank">https://gerrit.osmocom.org/#/c<wbr>/6651</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
- Pau Espin Pedrol <<a href="mailto:pespin@sysmocom.de" target="_blank">pespin@sysmocom.de</a>>         <a href="http://www.sysmocom.de/" rel="noreferrer" target="_blank">http://www.sysmocom.de/</a><br>
==============================<wbr>==============================<wbr>===========<br>
* sysmocom - systems for mobile communications GmbH<br>
* Alt-Moabit 93<br>
* 10559 Berlin, Germany<br>
* Sitz / Registered office: Berlin, HRB 134158 B<br>
* Geschaeftsfuehrer / Managing Director: Harald Welte<br>
</font></span></blockquote></div><br></div>