You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/22 08:50:47 UTC
[GitHub] [apisix] GhangZh opened a new issue, #7758: help request: apisix logs are messed up
GhangZh opened a new issue, #7758:
URL: https://github.com/apache/apisix/issues/7758
### Description
![image](https://user-images.githubusercontent.com/92301646/185879736-06385b04-cf05-4c8f-bba7-4b7331e3cf24.png)
We have customized the apisix log format, but recently there have been a large number of requests with faulty logs
### Environment
- APISIX version (run `apisix version`):2.13
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):1.19
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] github-actions[bot] commented on issue #7758: help request: apisix logs are messed up
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1704077502
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1222165350
use text instead of images to show logs and confiurations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] GhangZh closed issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
GhangZh closed issue #7758: help request: apisix logs are messed up
URL: https://github.com/apache/apisix/issues/7758
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] GhangZh commented on issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
GhangZh commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1222062739
>
![image](https://user-images.githubusercontent.com/92301646/185882813-9e708521-5c7e-434e-9c41-bc89abb8227a.png)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kwanhur commented on issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
kwanhur commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1227417818
it seems to say some access logs missing `vhost` content.
A mini demo to reproduce will be better.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] github-actions[bot] commented on issue #7758: help request: apisix logs are messed up
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1684909947
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] soulbird commented on issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1222055875
Please provide your custom log format.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] GhangZh commented on issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
GhangZh commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1222107689
> >
>
> ![image](https://user-images.githubusercontent.com/92301646/185882813-9e708521-5c7e-434e-9c41-bc89abb8227a.png)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] GhangZh commented on issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
GhangZh commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1222180908
>
```bash
nginx_config: # config for render the template to genarate nginx.conf
error_log: "/dev/stderr"
error_log_level: "warn" # warn,error
worker_rlimit_nofile: 60000 # the number of files a worker process can open, should be larger than worker_connections
event:
worker_connections: 60000
http:
enable_access_log: true
access_log: "/dev/stdout"
access_log_format: "{\"@timestamp\": \"$time_iso8601\", \"remote_addr\": \"$remote_addr\", \"costime\": $request_time, \"realtime\": \"$upstream_response_time\", \"status\": $status, \"x_forwarded\": \"$http_x_forwarded_for\", \"vhost\": \"$host\", \"server_addr\":\"$server_addr\", \"referer\": \"$http_referer\", \"method\": \"$request_method\", \"url\": \"$uri\", \"args\": \"$args\", \"request_url\":\"$request_uri\", \"upstream_name\":\"$upstream_name\", \"upstr_addr\": \"$upstream_addr\",\"bytes\": $bytes_sent, \"body_bytes\":$body_bytes_sent, \"http_agent\": \"$http_user_agent\"}"
access_log_format_escape: json
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #7758: help request: apisix logs are messed up
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7758:
URL: https://github.com/apache/apisix/issues/7758#issuecomment-1222359952
what is logs? the images is not clear?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] github-actions[bot] closed issue #7758: help request: apisix logs are messed up
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7758: help request: apisix logs are messed up
URL: https://github.com/apache/apisix/issues/7758
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org