Navigation Menu

Skip to content

Commit

Permalink
changed log format of pthread id. now print as hex.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Apr 9, 2010
1 parent e48f43d commit e491a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -31,7 +31,7 @@ void mrn_logger_func(int level, const char *time, const char *title,
{
const char slev[] = " EACewnid-";
if (mrn_logfile_opened) {
fprintf(mrn_logfile, "%s|%c|%u|%s\n", time,
fprintf(mrn_logfile, "%s|%c|%08x|%s\n", time,
*(slev + level), (uint)pthread_self(), msg);
fflush(mrn_logfile);
}
Expand Down

0 comments on commit e491a9c

Please sign in to comment.