Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to turn off Netty library debug output?
    primarykey
    data
    text
    <p>I am using Netty (via the Ning async HTTP <a href="http://www.ning.com/code/2010/03/introducing-nings-asynchronous-http-client-library/">library</a>) to retrieve documents via HTTP. This produces a huge amount of debug output the console, as listed below for a single document request.</p> <p>Anyone know how to turn this off? I really don't need to see this output.</p> <p>I'm calling from Scala, if that makes any difference.</p> <pre><code>15:07:14.273 [run-main] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Non cached request DefaultHttpRequest(chunked: false) GET /api/search.json?q=foo HTTP/1.1 Host: www.documentcloud.org Connection: keep-alive Accept: */* User-Agent: NING/1.0 using Channel [id: 0x2839ca40] 15:07:14.930 [New I/O client worker #1-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Request DefaultHttpRequest(chunked: false) GET /api/search.json?q=foo HTTP/1.1 Host: www.documentcloud.org Connection: keep-alive Accept: */* User-Agent: NING/1.0 Response DefaultHttpResponse(chunked: true) HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: 10477 Connection: keep-alive Vary: Accept-Encoding Status: 200 X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.13 ETag: "4f8f766d639dd84d014dfee3abb45de2" X-Runtime: 611 Cache-Control: private, max-age=0, must-revalidate Server: nginx/1.2.1 + Phusion Passenger 3.0.13 (mod_rails/mod_rack) 15:07:14.941 [New I/O client worker #1-1] DEBUG c.n.h.c.p.netty.NettyConnectionsPool - Adding uri: http://www.documentcloud.org:80 for channel [id: 0x2839ca40, /10.5.165.61:56133 =&gt; www.documentcloud.org/75.101.159.206:80] 15:07:16.921 [New I/O client worker #1-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Channel Closed: [id: 0x2839ca40, /10.5.165.61:56133 :&gt; www.documentcloud.org/75.101.159.206:80] with attachment com.ning.http.client.providers.netty.NettyAsyncHttpProvider$DiscardEvent@63182c3d 15:08:13.924 [Timer-0] DEBUG c.n.h.c.p.netty.NettyConnectionsPool - Entry count for : http://www.documentcloud.org:80 : 0 </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload