I implemented the
java logging, I think it provides a good way to handle the exceptions that should not be thrown out. And also the log file probably gives the administrator some information about whether the system is strted up normally or not
The way that read a properties file is not that hard. you can integrate it with suncertify.properties file, you only need to provide some necessary properties like
java.util.logging.FileHandler.pattern=YOU LOG FILE
handlers=java.util.logging.FileHandler
.level=INFO
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.FileHandler.limit=50000
java.util.logging.FileHandler.count=5
Certainly, you can not provide a predefined properties file, It should be generated dynamically.