teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

修正

2019/02/25 00:31

投稿

CHERRY
CHERRY

スコア25234

answer CHANGED
@@ -2,8 +2,7 @@
2
2
 
3
3
  app server 側で記録する方法もありそうですが・・・
4
4
 
5
- nginx の tech blog [TCP/UDP Load Balancing with NGINX: Overview, Tips, and Tricks](https://www.nginx.com/blog/tcp-load-balancing-udp-load-balancing-
6
- nginx-tips-tricks/) や ドキュメント [Module ngx_stream_log_module](http://nginx.org/en/docs/stream/ngx_stream_log_module.html) を読む感じでは、
5
+ nginx の tech blog [TCP/UDP Load Balancing with NGINX: Overview, Tips, and Tricks](https://www.nginx.com/blog/tcp-load-balancing-udp-load-balancing-nginx-tips-tricks/) や ドキュメント [Module ngx_stream_log_module](http://nginx.org/en/docs/stream/ngx_stream_log_module.html) を読む感じでは、
7
6
 
8
7
  * error_log を info レベルで記録する
9
8
  * ログフォーマットに "$upstream_addr" を追加した access_log を記録する