Thanks Doug, this helps a lot. 

-Yuduo

On Nov 12, 2010, at 5:29 PM, Doug Cutting <[email protected]> wrote:

> These are printed because they're logged at the INFO level and the default 
> logger is slf4j's SimpleLogger:
> 
> http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html
> 
> To disable them you could put a different slf4j logging implementation jar on 
> your classpath.  E.g., instead of slf4j-simple.jar, use slf4j-nop.jar to 
> disable log output altogether, or use slf4j-jdk14.jar (Java's built-in 
> logging system) or slf4j-log4j12 (log4j) and configure the corresponding 
> logging system.
> 
> Logging network connections at INFO seems reasonable to me.  But if folks 
> feel this is overly verbose then we could reduce these to DEBUG level so 
> they'd not be printed by default.
> 
> Doug
> 
> On 11/12/2010 10:15 AM, Yuduo Zhou wrote:
>> Hi all,
>> This is a rookie question, but I didn't find a solution.
>> How can I get rid of the debug info printed by avro? Like these:
>> ...
>> 58250 [Thread-210] INFO org.apache.avro.ipc.SocketTransceiver - closing
>> to /129.79.49.157:20000 <http://129.79.49.157:20000>
>> 59048 [Thread-211] INFO org.apache.avro.ipc.SocketTransceiver - closing
>> to /129.79.49.157:20000 <http://129.79.49.157:20000>
>> 60293 [SocketServer on 0.0.0.0/0.0.0.0:50000
>> <http://0.0.0.0/0.0.0.0:50000>] INFO
>> org.apache.avro.ipc.SocketTransceiver - open to /129.79.49.157:49441
>> <http://129.79.49.157:49441>
>> 60293 [SocketServer on 0.0.0.0/0.0.0.0:50000
>> <http://0.0.0.0/0.0.0.0:50000>] INFO org.apache.avro.ipc.SocketServer -
>> stopping /0:0:0:0:0:0:0:0
>> 60293 [SocketServer on 0.0.0.0/0.0.0.0:50000
>> <http://0.0.0.0/0.0.0.0:50000>] INFO
>> org.apache.avro.ipc.SocketTransceiver - open to /129.79.49.157:49445
>> <http://129.79.49.157:49445>
>> ...
>> 
>> Yuduo Zhou
>> 

Reply via email to