You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2020/03/04 01:37:36 UTC

[incubator-apisix] branch master updated: change: disables logging of errors about not found files into error_log for admin api.

This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d2ecee  change: disables logging of errors about not found files into error_log for admin api.
6d2ecee is described below

commit 6d2ecee48f2a368261b237c8af15c28ab366b1d2
Author: dabue <53...@users.noreply.github.com>
AuthorDate: Wed Mar 4 09:37:26 2020 +0800

    change: disables logging of errors about not found files into error_log for admin api.
    
    Fix #1168
---
 bin/apisix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/apisix b/bin/apisix
index a8cb07f..1a7e7a3 100755
--- a/bin/apisix
+++ b/bin/apisix
@@ -264,7 +264,7 @@ http {
     {% if enable_admin and port_admin then %}
     server {
         listen {* port_admin *};
-
+        log_not_found off;
         location /apisix/admin {
             {%if allow_admin then%}
                 {% for _, allow_ip in ipairs(allow_admin) do %}