|
|
Sponsor |
Re: Can i have multiple custom appenders loaded in my application? How?: msg#00051apache.logging.log4cxx.user
On Feb 15, 2005, at 11:44 PM, Kadarkarai, Prabhakar (Prabhakar) wrote: Hello All, Hardly enough info to try to analyze the problem. So both appenders are being constructed but only one seems to be working? Can you set a breakpoint at activateOptions? Are the object's path's different at that time? Are there any static variables in your implementation (if path was static it would have the behavior that you are observing)? Is append being called on both appenders, or just one?
I'm assuming that your implementation class and registration is contained in both DLL's and you've assumed that the second load library would trigger a second registration of MSMQAppender which would override the entry registered by the first. I'm pretty sure that there are no guarantees on what occurs when you attempt to do that. Maintaining the first entry is safer since there may have been instances of the first implementation already created and it would expect to find the matching class information.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Odd problem, Curt Arnold |
|---|---|
| Next by Date: | Re: Compiling on NetBSD and MSYS, Aaron Walker |
| Previous by Thread: | Can i have multiple custom appenders loaded in my application? How?, Kadarkarai, Prabhakar \(Prabhakar\) |
| Next by Thread: | 0.9.7 timezone part2, jwert |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|