We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ebb11 commit 8c6419aCopy full SHA for 8c6419a
src/couchbase/log_formatter.c
@@ -66,7 +66,7 @@ void pcbc_log_formatter(char *buf, int buf_size, const char *severity, const cha
66
}
67
68
if (is_lcb) {
69
- snprintf(buf, buf_size, "[cb,%s] (%s L:%d I:%d) %s", severity, subsystem, srcline, instance_id, msg);
+ snprintf(buf, buf_size, "[cb,%s] (%s L:%d I:%u) %s", severity, subsystem, srcline, (unsigned int)instance_id, msg);
70
} else if (instance_ptr) {
71
snprintf(buf, buf_size, "[cb,%s] (%s L:%d) %s. I=%p", severity, subsystem, srcline, msg, instance_ptr);
72
} else {
0 commit comments