can java.util.logging.SimpleFormatter log stack trace?

can java.util.logging.SimpleFormatter log stack trace? I hope I don't have to write a custom formatter.

-yc

[121 byte] By [javalatte1a] at [2007-11-27 11:28:46]
# 1

Yes. What makes you think it won't? What happened when you tried it?

ejpa at 2007-7-29 16:24:01 > top of Java-index,Java Essentials,Java Programming...
# 2

right, it does, the code I am modifying prints regular log msg at LEVEL.SEVERE, that's why it doesn't have any stack trace.

By the way, I am using file name pattern, aName.log%g, why it the most current log is aName.log.0, rather than just aName.log. In the conf file, I have,

mypackage.myclass.logfile.name=/.../aName.log.%g

java.util.logging.FileHandler.limit=60000

java.util.logging.FileHandler.count=3

java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter

Thanks.

Message was edited by:

javalatte1

javalatte1a at 2007-7-29 16:24:01 > top of Java-index,Java Essentials,Java Programming...