diff options
Diffstat (limited to 'logger.c')
-rwxr-xr-x | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ extern void ast_log(int level, char *file, int line, char *function, char *fmt, } else ast_log(LOG_WARNING, "Unable to retrieve local time?\n"); } else { - fprintf(stdout, "%s: File %s, Line %d (%s): ", levels[level], file, line, function); + fprintf(stdout, "%s[%ld]: File %s, Line %d (%s): ", levels[level], pthread_self(), file, line, function); vfprintf(stdout, fmt, ap); fflush(stdout); } |