Best practice for logging in a highly available hadoop cluster

2017-09-27 Thread Anhad Singh Bhasin
place. Can we push the log events into log files in HDFS through the log4j2 Routing appender? Or Do we push all the log events into log files in a shared disk among all the edge nodes? Any suggestions, comments would be deeply appreciated. Thanks Anhad Singh Bhasin

Re: New log file does not get created when old log file deleted in case of TCPSocketServer

2017-08-31 Thread Anhad Singh Bhasin
are we talking about the active file managed by the file appender? I > am surprised that the file is not locked. > > Gary > > On Thu, Aug 31, 2017 at 1:03 PM, Anhad Singh Bhasin > > wrote: > > > Hello All, > > > > Great to see Log4j 2.9.0 release. Thanks to

New log file does not get created when old log file deleted in case of TCPSocketServer

2017-08-31 Thread Anhad Singh Bhasin
log file gets created again and then all the log events gets recorded appropriately. I am trying to find out if there is a way the log events create a new file if the old log file is deleted somehow. Any suggestions, comments would be deeply appreciated. Thanks for your time. Regards, Anhad Singh

Logs for Log4j2 TCPSocketServer

2017-07-31 Thread 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 speci

Re: How to Pass Application Name in TCPSocketServer implementation from client to server

2017-06-12 Thread Anhad Singh Bhasin
June 2017 at 01:46, Anhad Singh Bhasin wrote: > > > Hello everyone, > > > > I am new to Log4J2 and unable to find answer to a simple question, which > am > > sure would be a simple thing for someone who has worked on Log4J2. I > tried > > asking the same

How to Pass Application Name in TCPSocketServer implementation from client to server

2017-06-08 Thread Anhad Singh Bhasin
%m%n Thank you so much for your time. Regards, Anhad Singh Bhasin