Fossil SCM
Include the process-id in the logfile message for warnings.
Commit
420d007adfba956642e8e15f5055326f24e1fb620e8cb5451f5b97681c383efa
Parent
cad72b796fe4336…
1 file changed
+1
-1
+1
-1
| --- src/printf.c | ||
| +++ src/printf.c | ||
| @@ -1100,11 +1100,11 @@ | ||
| 1100 | 1100 | if( zFormat[0]=='X' ){ |
| 1101 | 1101 | bDetail = 1; |
| 1102 | 1102 | zFormat++; |
| 1103 | 1103 | } |
| 1104 | 1104 | vfprintf(out, zFormat, ap); |
| 1105 | - fprintf(out, "\n"); | |
| 1105 | + fprintf(out, " (pid %d)\n", (int)getpid()); | |
| 1106 | 1106 | va_end(ap); |
| 1107 | 1107 | if( g.zPhase!=0 ) fprintf(out, "while in %s\n", g.zPhase); |
| 1108 | 1108 | if( bDetail ){ |
| 1109 | 1109 | cgi_print_all(1,3,out); |
| 1110 | 1110 | }else{ |
| 1111 | 1111 |
| --- src/printf.c | |
| +++ src/printf.c | |
| @@ -1100,11 +1100,11 @@ | |
| 1100 | if( zFormat[0]=='X' ){ |
| 1101 | bDetail = 1; |
| 1102 | zFormat++; |
| 1103 | } |
| 1104 | vfprintf(out, zFormat, ap); |
| 1105 | fprintf(out, "\n"); |
| 1106 | va_end(ap); |
| 1107 | if( g.zPhase!=0 ) fprintf(out, "while in %s\n", g.zPhase); |
| 1108 | if( bDetail ){ |
| 1109 | cgi_print_all(1,3,out); |
| 1110 | }else{ |
| 1111 |
| --- src/printf.c | |
| +++ src/printf.c | |
| @@ -1100,11 +1100,11 @@ | |
| 1100 | if( zFormat[0]=='X' ){ |
| 1101 | bDetail = 1; |
| 1102 | zFormat++; |
| 1103 | } |
| 1104 | vfprintf(out, zFormat, ap); |
| 1105 | fprintf(out, " (pid %d)\n", (int)getpid()); |
| 1106 | va_end(ap); |
| 1107 | if( g.zPhase!=0 ) fprintf(out, "while in %s\n", g.zPhase); |
| 1108 | if( bDetail ){ |
| 1109 | cgi_print_all(1,3,out); |
| 1110 | }else{ |
| 1111 |