Java Logs
Logging is the most common concern to keep in mind by the development teams. In java logging is achieved through a logger class which provides an object allowing the applications to log data without regard to the location needed to actually log the data. Java applications log the messages in form of objects. As soon as a logger is created, it is given a name.
We have Log4j, a logging utility developed for the java community. It is a project of the Apache Software Foundation. log4j is one of several Java Logging Frameworks. It is used primarily as a debugging tool. If log records are smaller than limiting log file then spaces are worst but it is larger than some information's to be lost or not mentioning in the log file.
To know more about just click:
http:/www.roseindia.net/java/example/java/util/LimitLogFile.shtml