<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Does this change result in the rewrite log only being available in
    debug builds? This is actually a very bad thing. I already have the
    problem that some people have a problem with nginx because the
    try_files log entries are only retrievable with debug builds.<br>
    <br>
    Regards<br>
    <br>
    <div class="moz-cite-prefix">On 5/27/2016 7:11 PM, Giovani Rinaldi
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGVfuS=JROAYmLvhNr_wMzimGrvTM964L_EB2VcE=zBdLWcE9A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div># HG changeset patch<br>
          # User Giovani Rinaldi <<a moz-do-not-send="true"
            href="mailto:giovani.rinaldi@azion.com">giovani.rinaldi@azion.com</a>><br>
          # Date 1464122415 0<br>
          # Node ID a6209fc7fc0941be30850050025cfe830805b1a8<br>
          # Parent  bc6fd7afeed6f7433c60634d9b0867ea3241b217<br>
          Script: fix log level when matching regular expressions<br>
          <br>
          Log should be written to log directive that accepts debug
          level.</div>
        <div>
          <div><br>
            diff -r bc6fd7afeed6 -r a6209fc7fc09
            src/http/ngx_http_script.c<br>
            --- a/src/http/ngx_http_script.c    Tue May 24 21:54:32 2016
            +0300<br>
            +++ b/src/http/ngx_http_script.c    Tue May 24 20:40:15 2016
            +0000<br>
            @@ -933,7 +933,7 @@<br>
            <br>
                 if (rc == NGX_DECLINED) {<br>
                     if (e->log ||
            (r->connection->log->log_level &
            NGX_LOG_DEBUG_HTTP)) {<br>
            -            ngx_log_error(NGX_LOG_NOTICE,
            r->connection->log, 0,<br>
            +            ngx_log_debug2(NGX_LOG_DEBUG_HTTP,
            r->connection->log, 0,<br>
                                       "\"%V\" does not match \"%V\"",<br>
                                       &code->name,
            &e->line);<br>
                     }<br>
            @@ -967,7 +967,7 @@<br>
                 }<br>
            <br>
                 if (e->log ||
            (r->connection->log->log_level &
            NGX_LOG_DEBUG_HTTP)) {<br>
            -        ngx_log_error(NGX_LOG_NOTICE,
            r->connection->log, 0,<br>
            +        ngx_log_debug2(NGX_LOG_DEBUG_HTTP,
            r->connection->log, 0,<br>
                                   "\"%V\" matches \"%V\"",
            &code->name, &e->line);<br>
                 }<br>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nginx-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx-devel">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></pre>
    </blockquote>
  </body>
</html>