aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/debug.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-380/+144
* Move to the new log code and update binaries * Catch up with lchan changes from master Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/src/Makefile.am openbsc/src/bsc_rll.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_04_08.c openbsc/src/gsm_04_11.c openbsc/src/gsm_subscriber_base.c openbsc/src/handover_logic.c openbsc/src/silent_call.c openbsc/src/transaction.c openbsc/src/vty_interface.c openbsc/src/vty_interface_cmds.c
2010-03-29debug: Fix debugging for the nat category.Holger Hans Peter Freyther1-0/+1
2010-03-26debug: ensure no overlap between LOG_FILTER_ALL and FLT_IMSIHarald Welte1-1/+2
2010-03-26move log/debug codebase to libosmocoreHarald Welte1-378/+138
The logging/debugging code is generic enough to move it into libosmocore while keeping OpenBSC specific definitions in openbsc itself. This commit uses the logging support present in libosmocore-0.1.2, you will have to update your library to this version.
2010-03-25Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-1/+1
2010-03-25debug: Make the global target loglevel overwrite the category levelHolger Hans Peter Freyther1-1/+1
Together with the previos -e Number option one can easily turn on debugging without needing to remember the category masks for a quick check on what is going on.
2010-03-24Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-1/+1
Keep a static version as the shell script is not dealing well with branch tags/names containing text. Resolve merge conflict in the Makefile.am by adding both sides to the list of sources for the libbsc.a Conflicts: openbsc/configure.in openbsc/src/Makefile.am
2010-03-24Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-34/+295
* Move to libosmocore * Move to new debugging architecture * Register the BTS types * Has only been compile tested Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/include/openbsc/ipaccess.h openbsc/include/openbsc/mgcp.h openbsc/include/openbsc/msgb.h openbsc/include/openbsc/tlv.h openbsc/src/Makefile.am openbsc/src/abis_rsl.c openbsc/src/bsc_init.c openbsc/src/bsc_mgcp.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_subscriber_base.c openbsc/src/msgb.c openbsc/src/rest_octets.c openbsc/src/sccp/sccp.c openbsc/src/vty/command.c openbsc/src/vty_interface.c openbsc/tests/Makefile.am
2010-03-22debug: Use the right enum value for the ref counting group.Holger Hans Peter Freyther1-1/+1
2010-03-01value_string functions and some RSL related stuff has moved to libosmocoreHarald Welte1-26/+1
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-1/+1
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
2010-01-29[nat] Add debug area for the NAT codeHolger Hans Peter Freyther1-0/+1
This is going to give a conflict when merging with master but it can be easily resolved by adding a new id then.
2009-12-27move get_string_value() und get_value_string() into debug.cHarald Welte1-0/+26
this makes bsc_mgcp and ipaccess-proxy compile again
2009-12-26[debug] add new 'logging level' command to set loglevel more user friendlyHarald Welte (local)1-0/+28
2009-12-24[debug] Change the default log level to LOGL_NOTICEHarald Welte1-20/+20
This marks the departure from printing all the debug messages to the console by default. We only print NOTICE and WARNING level messages by default If you're interested in more details, you need to enable it via command line options or the VTY
2009-12-24[debug] Introduce DREF debug category for reference countingHarald Welte1-0/+2
2009-12-24Converrt the database later to use DEBUGP/LOGP instead of stderrHarald Welte1-0/+2
2009-12-24debug: add missing va_end()Harald Welte1-0/+1
2009-12-24debug: workaround for strange va_list corruption bugHarald Welte1-2/+9
2009-12-24debug: make sure we always zero-terminate after snprintf()Harald Welte1-1/+7
2009-12-23debug: Fix typo DMM -> DNM (we don't need DMM twice)Harald Welte1-1/+1
This prevented NM related log messages from showing up at stderr
2009-12-22Import the new logging architectureHolger Hans Peter Freyther1-41/+255
This is the new logging architecture, including * support for multiuple logging targets like stderr and vty * log levels in addition to categories/subsystems * filtering based on imsi, i.e. only see events for one subscriber * dynamically change log level for each category for each vty
2009-12-20handover: disable default-printing of every measurement reportHarald Welte1-1/+1
2009-12-17[handover] first functional handover implementationHarald Welte1-1/+2
With this commit, we can successfully hand over a channel from one cell to another cell. We implement asynchronous intra-BSC (but inter-BTS) handover. Changes: * introduce new DHO log category * extend rsl_chan_activate_lchan() with argument for HO reference * introduce actual minimal handover decision making in handover_decision.c * various fixes to bsc_handover_start() in handover_logic.c
2009-11-20[debug] Add a debug area for the MGCP code of On WavesHolger Hans Peter Freyther1-0/+1
2009-11-20[debug] Add a debug area for MSCHolger Hans Peter Freyther1-0/+1
2009-11-20[debug] Add a debug area for SCCPHolger Hans Peter Freyther1-0/+1
2009-08-20[debug] Make the hexdump parameter constHolger Hans Peter Freyther1-1/+1
This way it can be used from values coming TLVP_VAL.
2009-06-27add new DMEAS debug category for measurement reportingHarald Welte1-1/+2
disable it by default
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+161