[jbpm-dev] [Design of JBoss jBPM] - java.util.logging.MemoryHandler

tom.baeyens@jboss.com do-not-reply at jboss.com
Tue Feb 17 09:50:34 EST 2009


i'm playing a bit with the java.util.logging.MemoryHandler in test-db and it seems to work nicely.

it will store the logs in memory in a circular buffer overwriting the oldest entries first.

whenever a log is issued in category severe (==error) then the last 500 log entries are flushed to the console.

that way you can have quite detailed logging when something goes wrong and no logging then things go ok.

seems to work nice.  i'll work with it some more before i roll it out over the full project.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210713#4210713

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210713



More information about the jbpm-dev mailing list