If you provide the reason for your request we might be able to help better.
On Wed, Apr 9, 2008 at 10:58 AM, Robert Pepersack <[EMAIL PROTECTED]> wrote: > I've checked the archives and didn't find an answer, but please forgive me if > this a duplicate post. > > I would like to be able to specify a repository for my logger to use. For > example: Logger logger = new Logger("my.class.name", "myRepositoryName"); > > I read Chapter 8, "Extending log4j", and it said that subclassing Logger is > a bad idea. I don't see a way to accomplish what I want by wrapping Logger. > So, I think, that the only way to do it would be to tweak a few of the log4j > classes (i.e. Logger, LogManager, RepositorySelector, and > DefaultRepositorySelector). Would anyone be interested in this, or am I > barking up the wrong tree? I realize that this could open a can of worms > with a lot of repositories getting created, but, if we're carful, this could > be very useful. > > Thanks, > > Robert Pepersack > Senior Lead Developer > Maryland Insurance Administration > 410-468-2054 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- James A. N. Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]