Browse Source

ckdb - respect global loglevel

master
kanoi 10 years ago
parent
commit
a686579cd1
  1. 3
      src/ckdb.c

3
src/ckdb.c

@ -1304,6 +1304,9 @@ void logmsg(int loglevel, const char *fmt, ...)
char stamp[128]; char stamp[128];
char *extra = EMPTY; char *extra = EMPTY;
if (loglevel > global_ckp->loglevel)
return;
now_t = time(NULL); now_t = time(NULL);
localtime_r(&now_t, &tm); localtime_r(&now_t, &tm);
snprintf(stamp, sizeof(stamp), snprintf(stamp, sizeof(stamp),

Loading…
Cancel
Save