Files
spring-cloud-static/Greenwich.SR5/multi/multi_troubleshooting.html
2020-02-03 11:48:03 +01:00

8 lines
3.7 KiB
HTML

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>123.&nbsp;Troubleshooting</title><link rel="stylesheet" type="text/css" href="css/manual-multipage.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="multi_spring-cloud.html" title="Spring Cloud"><link rel="up" href="multi__spring_cloud_gateway.html" title="Part&nbsp;XV.&nbsp;Spring Cloud Gateway"><link rel="prev" href="multi__actuator_api.html" title="122.&nbsp;Actuator API"><link rel="next" href="multi__developer_guide.html" title="124.&nbsp;Developer Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">123.&nbsp;Troubleshooting</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="multi__actuator_api.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;XV.&nbsp;Spring Cloud Gateway</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="multi__developer_guide.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a name="troubleshooting" href="#troubleshooting"></a>123.&nbsp;Troubleshooting</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="_log_levels" href="#_log_levels"></a>123.1&nbsp;Log Levels</h2></div></div></div><p>Below are some useful loggers that contain valuable trouble shooting infomration at the <code class="literal">DEBUG</code> and <code class="literal">TRACE</code> levels.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><code class="literal">org.springframework.cloud.gateway</code></li><li class="listitem"><code class="literal">org.springframework.http.server.reactive</code></li><li class="listitem"><code class="literal">org.springframework.web.reactive</code></li><li class="listitem"><code class="literal">org.springframework.boot.autoconfigure.web</code></li><li class="listitem"><code class="literal">reactor.netty</code></li><li class="listitem"><code class="literal">redisratelimiter</code></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="_wiretap" href="#_wiretap"></a>123.2&nbsp;Wiretap</h2></div></div></div><p>The Reactor Netty <code class="literal">HttpClient</code> and <code class="literal">HttpServer</code> can have wiretap enabled. When combined
with setting the <code class="literal">reactor.netty</code> log level to <code class="literal">DEBUG</code> or <code class="literal">TRACE</code> will enable logging of
information such as headers and bodies sent and received across the wire. To enable this,
set <code class="literal">spring.cloud.gateway.httpserver.wiretap=true</code> and/or
<code class="literal">spring.cloud.gateway.httpclient.wiretap=true</code> for the <code class="literal">HttpServer</code> and <code class="literal">HttpClient</code>
respectively.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="multi__actuator_api.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="multi__spring_cloud_gateway.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="multi__developer_guide.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">122.&nbsp;Actuator API&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="multi_spring-cloud.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;124.&nbsp;Developer Guide</td></tr></table></div></body></html>