At 12:35 AM 12/22/2004 -0500, you wrote: > >thanks Jake, its working...........:) > >but whats the detailed solution if i required two different configuration >files......... >
You'll have to come up with a repository selector that doesn't currently exist (that I know of) which supports differentiation of logger repositories based, somehow, on packages or something you make up. For an example, see the ContextJNDISelector in Log4j-1.3 (in CVS)...
http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/selector/ContextJNDISelector.java
You can also read Ceki's writings on the topic... http://www.qos.ch/logging/sc.jsp
I would just keep in mind that this is going to be awfully non-standard and this really should all be controlled from a single config file. When requirements like this come down the pipe, it is usually because the requester of the "feature" doesn't really understand what they are asking for and doesn't realize that it would be done more properly another way. That's when I step in and try to explain how a more standard solution would get them exactly what they want without going through the hoops involved in their uninformed proposed solution.
Jake
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
