Re: Jython-Netty-Client logging

Darjus Loktevic <[email protected]>
Newsgroups gmane.comp.lang.jython.user
Message-ID <CAFiRLmk3cZiNHYXV+f-zQXvx7+2E0FzoqNXzfW+hL5_1W1dMnA@mail.gmail.com>
Can you try the following?

log = logging.getLogger("_socket")
log.setLevel(level=logging.WARNING)

Also, if that does not help, please share with us how you enable logging in
the first place?

Darjus

On Sat, Oct 10, 2015 at 4:49 AM Master Of The <
[email protected]> wrote:

> Hi,
>
> Ive been trying to suppress Netty debug logging in Jython but with no
> success. What is the correct way to set logging level of Jython netty
> client?
>
> I have messages like this all over my log:
>
> 12:23:20.241 [Jython-Netty-Client-0] DEBUG
> o.p.n.channel.DefaultChannelPipeline - Discarded inbound message
> UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 11, cap: 4096) that reached
> at the tail of the pipeline. Please check your pipeline configuration.
>
> Regards
> --
> Master Of The
> [email protected]
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jython-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jython-users
>

------------------------------------------------------------------------------

_______________________________________________
Jython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.