Hi ... gaurav khanna .... what is the purpose of threads here in your code to search for a string in the log file .... can u please explain this? and can we do this without using the threads....if u know please send that code ...