RE: Date Rollover filename

2010-09-21 Thread David Gerler
log files will have names in form root2010-09-21.txt (for today's date) Radovan _____ Od: David Gerler [mailto:dger...@gmail.com] Odesláno: 20. září 2010 20:32 Komu: 'Log4NET User' Předmět: RE: Date Rollover filename Michael, Other than still having the .txt in the mi

RE: Date Rollover filename

2010-09-21 Thread David Gerler
x27;s date) Radovan _____ Od: David Gerler [mailto:dger...@gmail.com] Odesláno: 20. září 2010 20:32 Komu: 'Log4NET User' Předmět: RE: Date Rollover filename Michael, Other than still having the .txt in the middle of the file name, it works nicely. Well enough for our use in fact.

RE: Date Rollover filename

2010-09-20 Thread David Gerler
-user@logging.apache.org Subject: RE: Date Rollover filename Yes - you need to set the datePattern value for the appender. Something like this and you would set yours to Hope this helps. _ From: David Gerler [mailto:dger...@gmail.com] Sent: Monday

Date Rollover filename

2010-09-20 Thread David Gerler
We are using the Date rollover style for our logs. The thing we don't like is the fact that it appends the date to the end of the filename like "root.txt20100920". We'd like to have it insert the date in the middle like "root20100920.txt". Is that possible? I have searched the documentation and

RE: RollingAppender Date rollover

2010-05-14 Thread David Gerler
ubject: Re: RollingAppender Date rollover It is intended behaviour. MaxFiles = 10 means that there can not be more than 10 files at one day. On Fri, May 14, 2010 at 4:00 PM, David Gerler wrote: > HI, > >We have been using an older precompiled log4net.dll. When we use the date

RollingAppender Date rollover

2010-05-14 Thread David Gerler
HI, We have been using an older precompiled log4net.dll. When we use the date rollover for the rollingAppender it just keeps all files even though we set the max files to 10. Has this been fixed in the latest version? Dave

Using RollingFileAppender with style=Date.

2009-12-02 Thread David Gerler
How do I make it only keep a certain number of files when using the rollingstyle = date? I've looked on the website and have not been able to find an example of anything talking about it. This is what I have now:

Using RollingFileAppender with style=Date.

2009-11-30 Thread David Gerler
How do I make it only keep a certain number of files when using the rollingstyle = date? I've looked on the website and have not been able to find an example of anything talking about it. This is what I have now:

RE: multi process settings

2009-10-23 Thread David Gerler
Perhaps database logging would be better. From: Florin Daneliuc [mailto:florin.danel...@iquestint.com] Sent: Friday, October 23, 2009 8:26 AM To: Log4NET User Subject: RE: multi process settings I think you can also instruct the logger to try to acquire the lock of the file and release it

Re: Add new log programmatically and remove when finished

2009-04-23 Thread David Gerler
t = 0 Then >Dim newAppender = New log4net.Appender.FileAppender() > newAppender.Layout = New log4net.Layout.SimpleLayout() >newAppender.File = System.IO.Path.Combine(Directory, > LogFileName) >hierarchieLogger.AddAppe

Re: Add new log programmatically and remove when finished

2009-04-19 Thread David Gerler
#x27;m not sure about how to create a new logger each time without affecting the other threads. Hopefully, I'm using the correct terminology. When I say logger, I mean the equivalent of: Can anyone help me to divise a plan to handle this? On Sat, Apr 18, 2009 at 9:51 PM, David Gerle

Add new log programmatically and remove when finished

2009-04-18 Thread David Gerler
I have an application that receives data from many locations. I have log4net writing to several logs already and I want that to continue, but I also need to separate some of the logging out by the location the data comes from. What's the best way to do it? I found this message in the archive,

How do I use the pattern appender?

2009-03-14 Thread David Gerler
Hello, I have an app that is used by approximately 220 clients right now. At times they send data every few minutes. It's very had to wade through the data and it doesn't take long before it rolls off the end. I would like to have each clients logs put in a separate folder by the