RE: Advanced questions ? (I hope)

2002-07-24 Thread Havaldar, Raghu
A possible solution for # 1: - implement your own logger. Override the various error/warn/etc methods - use contextual info(utilizing MDC) to identify which log files that entries need to be dumped in - the context info can contain an 'object id' identifying the specific object, on which the log

RE: Advanced questions ? (I hope)

2002-07-24 Thread Shapira, Yoav
Howdy, 2. Is it possible to associated a log file to an INSTANCE of an object? I have object which does quite complex things and which is constructed with an Id. I would like to associate one log file per instance, such as log-id1 and log-id2 if I do new ComplexObject(id1); and new