Browse Source

ckdb - make invalid user auth message only debug

master
kanoi 10 years ago
parent
commit
eaa583661c
  1. 2
      src/ckdb.h
  2. 6
      src/ckdb_dbio.c

2
src/ckdb.h

@ -52,7 +52,7 @@
#define DB_VLOCK "1" #define DB_VLOCK "1"
#define DB_VERSION "0.9.6" #define DB_VERSION "0.9.6"
#define CKDB_VERSION DB_VERSION"-0.751" #define CKDB_VERSION DB_VERSION"-0.752"
#define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__ #define WHERE_FFL_HERE __FILE__, __func__, __LINE__

6
src/ckdb_dbio.c

@ -4170,9 +4170,9 @@ bool auths_add(PGconn *conn, char *poolinstance, char *username,
by, code, inet, cd, trf_root); by, code, inet, cd, trf_root);
} else { } else {
char *txt; char *txt;
LOGERR("%s(): unknown user '%s'", LOGDEBUG("%s(): unknown user '%s'",
__func__, __func__,
txt = safe_text(username)); txt = safe_text(username));
free(txt); free(txt);
} }
if (!u_item) if (!u_item)

Loading…
Cancel
Save