[Isolate-interest] Isolates, Aggregates, and Logging
Curt Cox
ccox@tripos.com
Tue, 04 Nov 2003 16:48:36 -0600
Hi All,
How will isolates impact logging?
Will each isolate log independently?
This seems like the most expected, yet usually least convenient choice.
Will each isolate of an aggregate be somehow more linked than
isolates of different aggregates, as far as logging goes?
Log4j can handle aggregating isolated logs,
without too much trouble.
Every isolate would get a SocketAppender.
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SocketAppender.html
One isolate would act as a SocketServer.
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SocketServer.html
java.util.logging only has half of this functionality.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/SocketHandler.html
Since log users will typically want a consolidated view of the logs
available
for an aggregate, constructing one should be at least trivial,
if not completely automatic.
Thanks,
Curt