diff options
-rw-r--r-- | src/db_auc.c | 4 | ||||
-rw-r--r-- | src/db_hlr.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/db_auc.c b/src/db_auc.c index 07039d4..7aad06d 100644 --- a/src/db_auc.c +++ b/src/db_auc.c @@ -30,7 +30,7 @@ #include "auc.h" #include "rand.h" -#define LOGAUC(imsi, level, fmt, args ...) LOGP(DAUC, level, "%s: " fmt, imsi, ## args) +#define LOGAUC(imsi, level, fmt, args ...) LOGP(DAUC, level, "IMSI='%s': " fmt, imsi, ## args) /* update the SQN for a given subscriber ID */ int db_update_sqn(struct db_context *dbc, uint64_t id, @@ -98,7 +98,7 @@ int db_get_auth_data(struct db_context *dbc, const char *imsi, /* execute the statement */ rc = sqlite3_step(stmt); if (rc == SQLITE_DONE) { - LOGAUC(imsi, LOGL_INFO, "Unknown\n"); + LOGAUC(imsi, LOGL_INFO, "No such subscriber\n"); ret = 0; goto out; } else if (rc != SQLITE_ROW) { diff --git a/src/db_hlr.c b/src/db_hlr.c index 3bf3912..4bccca4 100644 --- a/src/db_hlr.c +++ b/src/db_hlr.c @@ -28,7 +28,7 @@ #include "logging.h" #include "db.h" -#define LOGHLR(imsi, level, fmt, args ...) LOGP(DAUC, level, "%s: " fmt, imsi, ## args) +#define LOGHLR(imsi, level, fmt, args ...) LOGP(DAUC, level, "IMSI='%s': " fmt, imsi, ## args) #define SL3_TXT(x, stmt, idx) do { \ const char *_txt = (const char *) sqlite3_column_text(stmt, idx); \ |