Fossil SCM

Include the process-id in the logfile message for warnings.

drh 2025-04-07 05:14 trunk
Commit 420d007adfba956642e8e15f5055326f24e1fb620e8cb5451f5b97681c383efa
1 file changed +1 -1
+1 -1
--- src/printf.c
+++ src/printf.c
@@ -1100,11 +1100,11 @@
11001100
if( zFormat[0]=='X' ){
11011101
bDetail = 1;
11021102
zFormat++;
11031103
}
11041104
vfprintf(out, zFormat, ap);
1105
- fprintf(out, "\n");
1105
+ fprintf(out, " (pid %d)\n", (int)getpid());
11061106
va_end(ap);
11071107
if( g.zPhase!=0 ) fprintf(out, "while in %s\n", g.zPhase);
11081108
if( bDetail ){
11091109
cgi_print_all(1,3,out);
11101110
}else{
11111111
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button