aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-01-14 12:31:11 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2013-01-14 12:31:11 +0100
commit138f4e62d2f2504845cb34491f5278569ec881db (patch)
treef3711ef61f5455c6e6236dcc93d229a56abbdf58
parent9aaf2ae24d544ce149fde7685ca0421d31262a09 (diff)
Adding missing initialization of logging to RLCMACTest.cpp
-rw-r--r--src/RLCMACTest.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/RLCMACTest.cpp b/src/RLCMACTest.cpp
index 2b819b7..2ffff8f 100644
--- a/src/RLCMACTest.cpp
+++ b/src/RLCMACTest.cpp
@@ -25,6 +25,13 @@
#include <cstring>
#include "csn1.h"
#include "gsm_rlcmac.h"
+extern "C" {
+extern const struct log_info gprs_log_info;
+#include "pcu_vty.h"
+#include <osmocom/vty/telnet_interface.h>
+#include <osmocom/vty/logging.h>
+#include <osmocom/core/application.h>
+}
using namespace std;
void printSizeofRLCMAC()
@@ -198,6 +205,8 @@ void testRlcMacUplink()
int main(int argc, char *argv[])
{
+ osmo_init_logging(&gprs_log_info);
+
//printSizeofRLCMAC();
testRlcMacDownlink();
testRlcMacUplink();