On Mon, Jan 26, 2015 at 3:44 AM, Fabio <[email protected]> wrote: > Hi everyone, > I am using Hadoop, that uses log4j as logging system. > Since I don't know anything about how log4j works, and since I am relying > on the logs for my work, I would like to ask you how reliable is the > timestamp I see in the logs. > Is each timestamp I see the exact real system time at which each > "LOG.info(...)" function is called within the Hadoop code?
Yes. The info() call creates a log event object which includes a timestamp. Exactly when the log event is used and how is up to each appender implementation. Gary > Or is the log request enqueued in some buffer so that the timestamp > includes some delay to process the entries in this buffer? > I asked this in the Hadoop mailing list but with no answer, hope to have > more luck here. > > Thanks in advance > > Fabio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
