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
can java.util.logging.SimpleFormatter log stack trace? I hope I don't have to write a custom formatter.
-yc
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