Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Chukwa, mail # user - How chuwka identity the tailing log generated by java log4j?


Copy link to this message
-
How chuwka identity the tailing log generated by java log4j?
IvyTang 2012-03-09, 06:18
I want to use chuwka to collect the log generated by java log4j.

The log file has the size limition ,when the size reaches to 200M , the
log4j will rename this file to .1 and renew a log file.

If chukwa is tailing the current log , and the log size reaches to 200M but
the chukwa just collect < 200M . And the the log is renamed , a new log
file is generated.

I thought this log will miss , the chukwa will read the new log .But i
found the chukwa adaptor file offset doesn't change to 0 .

How chukwa handle this situation?

thx

--
Best regards,

Ivy Tang