Skip to content

change: disables logging of errors about not found files into error_log for admin api. #1168

Description

@membphis

When the user opens an independent service port for the dashboard, the dashboard may access some non-existing files (such as ICO). These not found logs are meaningless.

We can disable these error logs by default.

we can add the directive here:
https://github.com/apache/incubator-apisix/blob/master/bin/apisix#L248

log_not_found off;

here is the directive about log_not_found:
http://nginx.org/en/docs/http/ngx_http_core_module.html#log_not_found

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions