java.util.logging.Logger override (overwrites) the file data instead of add to end of file.
Is this correct? should I create 1 file for each time I initialize the app and the log system?
If not, how do I set it to write to the end of the file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
java.util.logging.FileHandler.append=trueThe append specifies whether the
FileHandlershould append onto any existing files (defaults tofalse).FileHandler Doc
There are other properties you have control over like the size of log files and how many to cycle through but I think that property is the one you are concerned with.