Re: Best Way to Set Up Massive Number of Loggers

2008-12-01 Thread Loren Keagle
This is the only way I know how to do this in log4net. We do this to handle remote logging from embedded controllers. We use .NET remoting appenders in this case, so we get the HostName property of each remote host logging to the sink. But if you're local you could do the same thing with a stri

Re: Best Way to Set Up Massive Number of Loggers

2008-12-01 Thread Eric Marthinsen
Hi Walden- I like the grep idea. The motivation for the multiple log files is twofold. First, they get really big really quickly. I realize I can roll them on size, but it's nice to have a daily log file. Second, we have some utilities that can take a log file and replay previous transactions (we

RE: Best Way to Set Up Massive Number of Loggers

2008-12-01 Thread Walden H. Leverich
Since you're asking for thoughts... bad idea. To me log4net is plumbing, that is it's programmer based stuff. Sounds to me like you're attempting to use it to satisfy a user requirement. I think you'd be better off adding the logging as part of the business processing. Now, having said that, there

Best Way to Set Up Massive Number of Loggers

2008-12-01 Thread Eric Marthinsen
Hello- I'm working on an app that coordinates data transfers among multiple trading partners. I want to create a log file for each trading partner. I had a few ideas of how to do this, but am not sure which would be considered the optimal way. The expected number of trading partners is likely to b

Re: Logging issue, Repository count is 1

2008-12-01 Thread suedeuno
I had to call XmlConfigurator.Configure(); within the global.asax file for it to work due to StructureMap. Didn't have the problem with Unity. -- View this message in context: http://www.nabble.com/Logging-issue%2C-Repository-count-is-1-tp20774508p20782493.html Sent from the Log4net - Users ma

RE: configuration problems, not logging

2008-12-01 Thread suedeuno
Actually that section is present in the web.config. Strangely if I remove the attribute from assembly.info no logging occurs, but if I replace the attribute back to the assembly.info then logging works. Is there an issue with log4net and .Net 3.5 framework? Radovan Raszka wrote: > > You proba

Logging issue, Repository count is 1

2008-12-01 Thread suedeuno
I have two projects setup, one uses Unity depencency injection and the other uses StructureMap. The project using Unity will log both from unit tests and from the web. The StructureMap project will only log from the unit test. As a note, when I call 'log = LogManager.GetLogger(System.Reflection.

Re: Strong Name Key

2008-12-01 Thread Scott Alexander
correction - (1.2.10.0 signed by the log4net key) On Mon, Dec 1, 2008 at 8:16 AM, Scott Alexander <[EMAIL PROTECTED]> wrote: > NHibernate is compiled against the strong named version of log4net so > yes, it requires a specific version (1.2.10.9 signed by the log4net > key) of log4net. > > Scott >

Re: Strong Name Key

2008-12-01 Thread Scott Alexander
NHibernate is compiled against the strong named version of log4net so yes, it requires a specific version (1.2.10.9 signed by the log4net key) of log4net. Scott On Mon, Dec 1, 2008 at 8:11 AM, Walden H. Leverich <[EMAIL PROTECTED]> wrote: > Does NHibernate require a signed version of the assembly

RE: Strong Name Key

2008-12-01 Thread Walden H. Leverich
Does NHibernate require a signed version of the assembly? Why not just drop you modified version, unsigned, into the bin directory and let NHibernate use it. -Walden -- Walden H Leverich III Tech Software (516) 627-3800 x3051 [EMAIL PROTECTED] http://www.TechSoftInc.com Quiquid latine dictum s

Strong Name Key

2008-12-01 Thread Scott Alexander
Just curious if there is any new information regarding the availability of = the log4net private key. I have a project that uses log4net but requires a minor modification to the= code (RollingFileAppender RollFile method marked as virtual). This is a p= roblem b/c I also use some other assemblie