This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: logging API in 1.4
Similar Threads
adding custom log levels to config file
logging solution
Java logging API
How to make each log entry start on a new line?
java.util.Logger creating multiple log files