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
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.
-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
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
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
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
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:
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:
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
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
#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
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,
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
13 matches
Mail list logo