pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/31006 )
Change subject: layer23: main: Log line about using config file before parsing it
......................................................................
layer23: main: Log line about using config file before parsing it
Change-Id: I66b5b18887b8deb37c3784fec90644470498d7b5
---
M src/host/layer23/src/common/main.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/06/31006/1
diff --git a/src/host/layer23/src/common/main.c b/src/host/layer23/src/common/main.c
index 2cdf5d4..82bbc60 100644
--- a/src/host/layer23/src/common/main.c
+++ b/src/host/layer23/src/common/main.c
@@ -231,6 +231,7 @@
if (app->vty_init)
app->vty_init();
if (config_file) {
+ LOGP(DLGLOBAL, LOGL_INFO, "Using configuration from '%s'\n",
config_file);
l23_vty_reading = true;
rc = vty_read_config_file(config_file, NULL);
l23_vty_reading = false;
@@ -239,7 +240,6 @@
"Failed to parse the configuration file '%s'\n", config_file);
return rc;
}
- LOGP(DLGLOBAL, LOGL_INFO, "Using configuration from '%s'\n",
config_file);
}
rc = telnet_init_default(l23_ctx, NULL, OSMO_VTY_PORT_BB);
if (rc < 0) {
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/31006
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I66b5b18887b8deb37c3784fec90644470498d7b5
Gerrit-Change-Number: 31006
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange