Logs for Log4j2 TCPSocketServer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Logs for Log4j2 TCPSocketServer

Anhad Singh Bhasin
Hello,

I have a Log4j2 TCPSocketServer working on a hadoop distributed system. All
the data nodes send log events to Edge node where TCPSocketServer is
running. I have context specified in Java code for Routing. Routing creates
multiple files and appends log events to them as per the context specified
in Java code.

The problem is that one of the file is not getting appended anymore. There
have been no changes to the Java codebase. Some minor cluster changes
happened however. Is there any log that gets generated for the
TCPSocketServer which can tell if TCPSocketServer is having some issues in
filtering?

Any help is deeply appreciated.
Much Thanks

Regards,
Anhad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Logs for Log4j2 TCPSocketServer

Matt Sicker
You can set the status logger to debug. See more info: <
http://logging.apache.org/log4j/2.x/faq.html#troubleshooting>

On 31 July 2017 at 17:42, Anhad Singh Bhasin <[hidden email]> wrote:

> Hello,
>
> I have a Log4j2 TCPSocketServer working on a hadoop distributed system. All
> the data nodes send log events to Edge node where TCPSocketServer is
> running. I have context specified in Java code for Routing. Routing creates
> multiple files and appends log events to them as per the context specified
> in Java code.
>
> The problem is that one of the file is not getting appended anymore. There
> have been no changes to the Java codebase. Some minor cluster changes
> happened however. Is there any log that gets generated for the
> TCPSocketServer which can tell if TCPSocketServer is having some issues in
> filtering?
>
> Any help is deeply appreciated.
> Much Thanks
>
> Regards,
> Anhad
>



--
Matt Sicker <[hidden email]>
Loading...