Posts in category openbsc

OpenBSC syslog and logfile support

Today I've been working on adding support for logging via syslog and to dedicated log files into our libosmocore and libosmovty libraries.

This means you can now finally log not only to stderr of the running process, but also configure any number of log files (each with its own log categories/levels) and through syslog.

In addition, all of the settings can now be configured from the vty (and persistently in the configuration file). You can also re-configure the log levels for those files (and stderr!) at runtime.

Please see the following new commands on the vty:

  • log file FILENAME
  • log syslog
  • log stderr
  • no log (syslog|stderr)
  • no log file FILENAME

Within each of those log vty nodes, you can then use the familiar commands like 'logging level mm debug' or 'log filter all 1' in order to configure which subsystems should log with what level of verbosity to the given target.

The abovementioned logging support is immediately available to all Osmocom programs, including osmo-nitb, osmo-bsc, gb_proxy, osmo-sgsn, bsc_nat and many others.

OpenBSC field test at 27c3 big success

The OpenBSC field test at the 27th annual Chaos Communication Congress was a huge sucess. While a full report is still being prepared, statistics from the OpenBSC-based GSM network at the event can be found at FieldTests/27c3

Lots of bugs have been discovered and fixed under the high load conditions at the event. Not all of them are part of the master branch in the git repository yet, but they will all be there soon.