I have a 500 mb log file on the server (.txt file). My requirement is that I want only data of only 1 mb. Since we all know that this will cause a problem, if I read the entire file using java code, and this can lead to the problem of using the application. I do not know how to get the latest MB data and have not started coding yet. Anyone please give me an offer?
Thanks Advance,
Rajah
user1078825
source
share