<div dir="ltr">Hello,<div>I followed this <a href="http://nginx.org/en/docs/debugging_log.html">http://nginx.org/en/docs/debugging_log.html</a>. Have nginx built with --with-debug and set the the error_log in the following 2 files (nginx.conf.main & inside http { } in nginx.conf.web). But still i don't see debug level logging getting generated in the files specified.</div>
<div><br></div><div>error_log /log/nginx.log <span class="">debug</span><span class="">;</span><br></div><div><span class=""><br></span></div><div><span class="">Tried with the rewrite_flag on too. Am i missing something ?</span></div>
<div><span class=""><br></span></div><div><span class="">Also does anyone know why does nginx has these 2 types of template files ?(i.e .template & .default.template)</span></div><div><span class="">for eg. </span>nginx.conf.web.http.template & nginx.conf.web.http.default.template</div>
<div>I see them to be exactly same.</div><div><br></div><div>Thanks</div><div>-Kunal</div>
</div>