Fossil

Check-in [49f676e3b3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Report the phase of operation in error log messages.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 49f676e3b3c8c39e693232b4ec84cdb0954ec4be532d6e71ad7ad544c2c0bef7
User & Date: drh 2024-07-29 11:25:10.351
Context
2024-07-29
11:50
Drop all database protection when starting the backoffice. check-in: 5d3f71b0f7 user: drh tags: trunk
11:25
Report the phase of operation in error log messages. check-in: 49f676e3b3 user: drh tags: trunk
10:54
Add (dir,tree) to the suggested robot-restrict value, per /chat discussion. check-in: c8777eeb43 user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/printf.c.
1071
1072
1073
1074
1075
1076
1077

1078
1079
1080
1081
1082
1083
1084
  if( zFormat[0]=='X' ){
    bDetail = 1;
    zFormat++;
  }
  vfprintf(out, zFormat, ap);
  fprintf(out, "\n");
  va_end(ap);

  if( bDetail ){
    cgi_print_all(1,3,out);
  }else{
    for(i=0; i<count(azEnv); i++){
      char *p;
      if( (p = fossil_getenv(azEnv[i]))!=0 && p[0]!=0 ){
        fprintf(out, "%s=%s\n", azEnv[i], p);







>







1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
  if( zFormat[0]=='X' ){
    bDetail = 1;
    zFormat++;
  }
  vfprintf(out, zFormat, ap);
  fprintf(out, "\n");
  va_end(ap);
  if( g.zPhase!=0 ) fprintf(out, "while in %s\n", g.zPhase);
  if( bDetail ){
    cgi_print_all(1,3,out);
  }else{
    for(i=0; i<count(azEnv); i++){
      char *p;
      if( (p = fossil_getenv(azEnv[i]))!=0 && p[0]!=0 ){
        fprintf(out, "%s=%s\n", azEnv[i], p);