diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-17 15:07:06 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-17 15:07:06 +0200 |
commit | 51530311a8a3edbf2518413a805eb0a9f111f756 (patch) | |
tree | 841b99c10b5ba1d78653e7e07baae4daed33893b /src | |
parent | f162252a087c29104cab4e1f2bdf609b3362aaa6 (diff) |
use osmo_init_logging2
Change-Id: If4449cce1af46be22cc370abd3a6da8e22a31fa5
Diffstat (limited to 'src')
-rw-r--r-- | src/db_test.c | 2 | ||||
-rw-r--r-- | src/hlr.c | 2 | ||||
-rw-r--r-- | src/hlr_db_tool.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/db_test.c b/src/db_test.c index 7891c90..0d10797 100644 --- a/src/db_test.c +++ b/src/db_test.c @@ -49,7 +49,7 @@ int main(int argc, char **argv) g_hlr = talloc_zero(NULL, struct hlr); - rc = osmo_init_logging(&hlr_log_info); + rc = osmo_init_logging2(g_hlr, &hlr_log_info); if (rc < 0) { fprintf(stderr, "Error initializing logging\n"); exit(1); @@ -475,7 +475,7 @@ int main(int argc, char **argv) g_hlr = talloc_zero(hlr_ctx, struct hlr); - rc = osmo_init_logging(&hlr_log_info); + rc = osmo_init_logging2(hlr_ctx, &hlr_log_info); if (rc < 0) { fprintf(stderr, "Error initializing logging\n"); exit(1); diff --git a/src/hlr_db_tool.c b/src/hlr_db_tool.c index 318308c..e83b098 100644 --- a/src/hlr_db_tool.c +++ b/src/hlr_db_tool.c @@ -386,7 +386,7 @@ int main(int argc, char **argv) OSMO_ASSERT(g_hlr_db_tool_ctx); talloc_set_name_const(g_hlr_db_tool_ctx, "OsmoHLR-db-tool"); - rc = osmo_init_logging(&hlr_log_info); + rc = osmo_init_logging2(g_hlr_db_tool_ctx, &hlr_log_info); if (rc < 0) { fprintf(stderr, "Error initializing logging\n"); exit(EXIT_FAILURE); |