|
|
Choosing A Webhost: |
Re: Customised Loggers - an interesting and difficult problem: msg#00056apache.logging.log4cxx.user
At 11:59 PM 12/13/2004, Barak Simon wrote: Hi, As Curt mentioned, if DBLogger is for Database logging, then using a DBAppender is probably much more appropriate than extending Logger. Assuming DBLogger performs some other function which may not be accomplished by the traditional extensions point (appender, layout), then your questions are quite well put. In the log4j project, for the reasons you mention, we avoid letting the user to specify her logger factory at the level of a single logger. The user can specify a logger factory at the level of the entire logger hierarchy with the help of a custom repository selector. The repository selector return a specific logger hierarchy and this hierarchy is responsible for creating loggers of a given type. The basic idea is explained here: http://www.qos.ch/logging/sc.jsp I hope this helps, Thanks, -- Ceki Gülcü The complete log4j manual: http://qos.ch/log4j/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Chainsaw, Curt Arnold |
|---|---|
| Next by Date: | Re: Chainsaw, Patrick Willett |
| Previous by Thread: | Re: Customised Loggers - an interesting and difficult problem, Curt Arnold |
| Next by Thread: | Re: Customised Loggers - an interesting and difficult problem, Barak Simon |
| 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 |