Hello everyone,
I'm writing a simple Handler for the java logging API, so that I can write log messages using JDBC. I found an example in
http://www.developer.com/java/article.php/1468351
which is precisely what I need, except that it has no mention to concurrency issues. My question is, should a Handler object be thread safe? if so, which methods can be called from multiple threads? or are all calls made to a Handler object made from the same thread?
Thanks for your help,
Juan Tamayo
I'm writing a simple Handler for the java logging API, so that I can write log messages using JDBC. I found an example in
http://www.developer.com/java/article.php/1468351
which is precisely what I need, except that it has no mention to concurrency issues. My question is, should a Handler object be thread safe? if so, which methods can be called from multiple threads? or are all calls made to a Handler object made from the same thread?
Thanks for your help,
Juan Tamayo