Change in osmo-pcap[master]: Drop osmo_init_logging and use osmo_init_logging2

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Oct 8 11:36:40 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11270


Change subject: Drop osmo_init_logging and use osmo_init_logging2
......................................................................

Drop osmo_init_logging and use osmo_init_logging2

Change-Id: Ib1c38f6134b3c1988477caa0f2c281b1ef01d5e0
---
M src/osmo_client_main.c
M src/osmo_server_main.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/70/11270/1

diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c
index 43de544..b491a25 100644
--- a/src/osmo_client_main.c
+++ b/src/osmo_client_main.c
@@ -182,7 +182,7 @@
 	int rc;
 
 	talloc_init_ctx();
-	osmo_init_logging(&log_info);
+	osmo_init_logging2(tall_cli_ctx, &log_info);
 
 	vty_info.copyright = osmopcap_copyright;
 	vty_init(&vty_info);
diff --git a/src/osmo_server_main.c b/src/osmo_server_main.c
index 20928cd..5c4f1cb 100644
--- a/src/osmo_server_main.c
+++ b/src/osmo_server_main.c
@@ -195,7 +195,7 @@
 	int rc;
 
 	talloc_init_ctx();
-	osmo_init_logging(&log_info);
+	osmo_init_logging2(tall_srv_ctx, &log_info);
 
 	vty_info.copyright = osmopcap_copyright;
 	vty_init(&vty_info);

-- 
To view, visit https://gerrit.osmocom.org/11270
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1c38f6134b3c1988477caa0f2c281b1ef01d5e0
Gerrit-Change-Number: 11270
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181008/542d94b7/attachment.htm>


More information about the gerrit-log mailing list