It's not a secret anymore!*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "logging API in 1.4" Watch "logging API in 1.4" New topic
Author

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: http://aspose.com/file-tools
 
subject: logging API in 1.4
 
Similar Threads
Java logging API
logging solution
adding custom log levels to config file
How to make each log entry start on a new line?
java.util.Logger creating multiple log files