Change in osmocom-bb[master]: tests: Replace deprecated API log_set_print_filename

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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Feb 19 13:17:03 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/22989 )


Change subject: tests: Replace deprecated API log_set_print_filename
......................................................................

tests: Replace deprecated API log_set_print_filename

Change-Id: I9d24365d2be528477f1c190c698a81bfc7f2d2df
---
M src/host/virt_phy/src/logging.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/89/22989/1

diff --git a/src/host/virt_phy/src/logging.c b/src/host/virt_phy/src/logging.c
index 75f0c9a..11a21a3 100644
--- a/src/host/virt_phy/src/logging.c
+++ b/src/host/virt_phy/src/logging.c
@@ -116,9 +116,10 @@
 	log_add_target(stderr_target);
 	log_set_all_filter(stderr_target, 1);
 	//log_set_log_level(stderr_target, 1);
-	log_set_print_filename(stderr_target, 1);
+	log_set_print_filename2(stderr_target, LOG_FILENAME_PATH);
 	log_set_use_color(stderr_target, 0);
 	log_set_print_timestamp(stderr_target, 1);
+	log_set_print_category_hex(stderr_target, 0);
 	log_set_print_category(stderr_target, 1);
 	if (cat_mask)
 		log_parse_category_mask(stderr_target, cat_mask);

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I9d24365d2be528477f1c190c698a81bfc7f2d2df
Gerrit-Change-Number: 22989
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210219/6ec811a3/attachment.htm>


More information about the gerrit-log mailing list