RE: Buffer Flushing and Table Maintenance in the ADONetAppender

2005-04-14 Thread Howard Weisberg
OK, I can see your point of view. For example, my son doesn't think that cleaning up his room falls under the scope of a child, and proposes that it be done by a separate housekeeper. Just kidding, this is no big deal. What about flushing the output buffer? We are building a log viewer applicati

RE: Buffer Flushing and Table Maintenance in the ADONetAppender

2005-04-14 Thread Ron Grabowski
Personally I don't think that database maintenance falls under the scope of a logger. If you really want that functionality, a good starting point may be to introduce nodes for the AdoNetAppender appender that executes when a changes: I just ma

RE: Buffer Flushing and Table Maintenance in the ADONetAppender

2005-04-14 Thread Howard Weisberg
If someone implements the Table Maintenance part, I think it should be configurable by Level and also by expiration date and/or maximum number of rows. -Original Message- From: Burger, Erik [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 3:48 AM To: 'Log4NET User' Subject: RE: Bu

Re: EventLogAppender

2005-04-14 Thread Eric Means
Take a look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog. There is a key under that for each event log, and under each log there is a key for each application that should log to that event log, so you'll need to add a key called whatever your app is named. There are values you

RE: need help starting up

2005-04-14 Thread Castro, Yvette
I'll forward the broken link to the issues site. Thanks. :o) -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 3:08 PM To: Log4NET User Subject: RE: need help starting up The most direct way for us to help is for you to post your log4net con

RE: .net 1.0 and building examples

2005-04-14 Thread Gert Driesen
> -Original Message- > From: Castro, Yvette [mailto:[EMAIL PROTECTED] > Sent: donderdag 14 april 2005 21:01 > To: Log4NET User > Subject: .net 1.0 and building examples > > I have 1.1 installed on my computer. I'm building via nant, but the > builds will not complete since the default

RE: need help starting up

2005-04-14 Thread Ron Grabowski
The most direct way for us to help is for you to post your log4net config file and a few lines (please don't past the entire class if its large!) of how you are configurating log4net and how you are calling it. I've asked for some code samples in my original response and you still haven't provided

.net 1.0 and building examples

2005-04-14 Thread Castro, Yvette
I have 1.1 installed on my computer. I'm building via nant, but the builds will not complete since the default is 1.0. I got around it when running the initial build by altering the nant.exe.config file to force it to point to 1.1, but I've been encountering problems with other builds. Any help

RE: need help starting up

2005-04-14 Thread Castro, Yvette
...\examples\net\1.0\Repository\SimpleApp\vb doesn't exist neither in the download nor online. I'm trying to see how it is suppose to work and I can't find any documentation. vr, Yvette -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 12:

RE: need help starting up

2005-04-14 Thread Ron Grabowski
The most recent download of log4net: http://logging.apache.org/log4net/downloads.html includes sample applications. - Ron --- "Castro, Yvette" <[EMAIL PROTECTED]> wrote: > The link to the tutorial for the simple app is not available. The > link > is as follows: > > http://logging.apache.org/

RE: need help starting up

2005-04-14 Thread Castro, Yvette
The link to the tutorial for the simple app is not available. The link is as follows: http://logging.apache.org/examples/net/1.0/Repository/SimpleApp/vb If I can get this to work, then I may be able to see where my code is going wrong. Any help will be appreciated. vr, Yvette -Original Me

Re: RollingFileAppender Problems using Multiple App Instances

2005-04-14 Thread p.reuse
Hi, The %processid approach seems like a nice way at first, but this would cause an explosion of logfiles. My solution is to append an extra Patternconverter that uses a mutex to find an available application 'instance' number. Together with the config-file I get a seperate logging directory

Re: need help starting up

2005-04-14 Thread Ron Grabowski
The log4net website contains example applications: http://logging.apache.org/log4net/release/example-apps.html Its difficult for us to help unless you post your config files or some (not all) of your code... - Ron --- "Castro, Yvette" <[EMAIL PROTECTED]> wrote: > I'm having problems with learn

need help starting up

2005-04-14 Thread Castro, Yvette
I’m having problems with learning how to use Log4net.  I am trying to build a class that I can tack on to multiple codes so that I can monitor there usage.  I am at the point that I can start it up, but it doesn’t record any other information.  When I get out of my program and go back in, t

Bug in RollingFileAppender?

2005-04-14 Thread Helbig, Dirk (EXTERN: HUD)
s\CRC\LogFiles] log4net: RollingFileAppender: curSizeRollBackups starts at [0] log4net: RollingFileAppender: [.20050413] vs. [.20050414] log4net: RollingFileAppender: Initial roll over to [D:\Projekte\CarConfigurators\CRC\LogFiles\crc-error.txt.20050413] log4net:WARN RollingFileAppender: Cannot Rol

RE: Buffer Flushing and Table Maintenance in the ADONetAppender

2005-04-14 Thread Burger, Erik
Hi Howard, As far as I know, you have to roll your own. What I did (probably not the only way) is add a Job to the SQL Server Agent to execute the following T-SQL command every hour: DELETE FROM WHERE [date] < DATEADD(Hour, -12, GETDATE()) This will delete all entries older than 12 hours. Of cou