File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes logging API in 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "logging API in 1.4" Watch "logging API in 1.4" New topic

logging API in 1.4

Sun LiWei
Ranch Hand

Joined: Aug 10, 2002
Posts: 49
I found that the same logger only update logging message to the log file when using FileHandler.How can I make it append message into the file.For example:

no matter how many times when I execute the code,the logger with the same name only update the log file.How can I change the logger's behavior from update to append??
Sun LiWei
Ranch Hand

Joined: Aug 10, 2002
Posts: 49
No need for the answer now,I am using log4j now,it's powerful and easier to use
I agree. Here's the link:
subject: logging API in 1.4
Similar Threads
adding custom log levels to config file
How to make each log entry start on a new line?
logging solution
Java logging API
java.util.Logger creating multiple log files