Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logging API in 1.4

 
Sun LiWei
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No need for the answer now,I am using log4j now,it's powerful and easier to use
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic