|
From: Bruno B. <br...@gm...> - 2007-05-18 21:14:51
|
Hi George, If you registered dll into the GAC, don't forget to use full assembly qualified name : exemple for the log4net 1.2.10 factory adapter : Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net, Version=1.0.2.2, Culture=neutral, PublicKeyToken=af08829b84f0328e HTH, Bruno 2007/5/18, Mark Pollack <mpo...@in...>: > > Hi George, > > By not work I guess you mean you don't see any logging? The behavior in > the > current release is to silently fail to using the NoOpLogger (which doesn't > do any logging) if the specified factory adapter can't be found. I've > changed that behavior in the code that is in CVS, so an > ConfigurationException is thrown. > > But onto your issue. Are you using the log4net factory adapter? If you > are > make sure that for log4net 1.2.10 you use the type > > 1.2.10 -> Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, > Common.Logging.Log4net > > And for 1.2.9 > > 1.2.9 -> Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, > Common.Logging.Log4Net129 > > > And that they are also in the GAC or in the bin path. > > If you could try with the 'built-in' factory adapters, i.e > Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging > > Hope this helps. > > Cheers, > Mark > > > > > > -----Original Message----- > From: net...@li... > [mailto:net...@li...] On Behalf Of > Wang, George > Sent: Friday, May 18, 2007 4:04 PM > To: net...@li... > Subject: [Netcommon-developer] dll in gac > > Hi, > > It works when I put the dlls in the bin directory. But it stopped > working when all the dlls are moved to the GAC. Any idea why? > > Best Regards, > George > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Netcommon-developer mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netcommon-developer > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Netcommon-developer mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netcommon-developer > |