RollingLogFileAppender skips numbers when rolling

2012-11-02 Thread bbell2012
2nd, I had more than 4 so the 4th backup was renamed to log.15. -- View this message in context: http://old.nabble.com/RollingLogFileAppender-skips-numbers-when-rolling-tp34633527p34633527.html Sent from the Log4net - Users mailing list archive at Nabble.com.

RE: log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-25 Thread Dominik Psenner
>If I set >maximumFileSize=10MB and maxSizeRollBackups=10, I will get 10 files for a > with total size 100MB. During the next day () I will get >another 10 files for the with total size 100MB; the previous 10 >files (ones for the ) will NOT be removed when new files (for the >) start appearing.

RE: log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-25 Thread KellyLynch
t? > > Cheers > >>-Original Message- >>From: KellyLynch [mailto:[email protected]] >>Sent: Monday, September 24, 2012 11:16 AM >>To: [email protected] >>Subject: log4net RollingLogFileAppender: is this possible to set limit for >>TOTAL

RE: log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-24 Thread Dominik Psenner
heers >-Original Message- >From: KellyLynch [mailto:[email protected]] >Sent: Monday, September 24, 2012 11:16 AM >To: [email protected] >Subject: log4net RollingLogFileAppender: is this possible to set limit for >TOTAL size of all log files? > > >In my .NET ap

log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-24 Thread KellyLynch
file belong to current day or to some day in the past. To the moment the .config above provides a different logic: limit by size of all the log files in the current GROUP (in my case the 'group' is 'current day'). Can I have RollingLogFileAppender working the way I want? --

RE: RollingLogFileAppender and custom remote File

2009-09-11 Thread Alvarez Alvarez, Victor Manuel
The easiest way will be setting a URL (http://server/virtual_logs) path instead of a physical path. The virtual directory will be configured in the IIS with the correct path (\\RemoteServerLog\PRO\logs ) But, I don't know how to do it, something like Server.Mappath that converts the path.

RE: RollingLogFileAppender and custom remote File

2009-09-10 Thread Alasdair Richardson
From: Alvarez Alvarez, Victor Manuel [mailto:[email protected]] Sent: Thursday, September 10, 2009 3:02 PM To: [email protected] Subject: RollingLogFileAppender and custom remote File Hello, I have the next

RollingLogFileAppender and custom remote File

2009-09-10 Thread Alvarez Alvarez, Victor Manuel
Hello, I have the next scenario, and I don't know how to do it. I need to use RollingLogFileAppender but the param name path file have to change in different environments. I would like the web.config file to be the same in 3 environments (TEST, PRE-PRODUCTION and PRODUCTION) and a

RE: Getting RollingLogFileAppender to write to Windows LocalAppData directory

2008-09-19 Thread David Abrames
Dear John, I use the following in my log4net.xml file: This resolves to "/Documents and Settings/MyLoginUser/Application Data/MyApp/Logs" on XP and to "/Users/MyLoginUser/AppData/Roaming/MyApp/Logs on Vista. 'MyL

Getting RollingLogFileAppender to write to Windows LocalAppData directory

2008-09-12 Thread JP O'Gorman
Hello I configured the RollingLogFileAppender in my application .config file hoping that it would write my log file into the windows users local app data directory. What I did not realize is that ${LOCALAPPDATA} is a Vista only environmental key and it's failure to resolve on XP mac

Re: Question about RollingLogFileAppender

2008-06-04 Thread Peter Drier
Not built into the RollingLogFileAppender.. There may be a hook if you want to extend it.. You'd want to make sure your cleanup wasn't done in the logging thread though, else it will hold up your application processing (and possibly your gui thread) We have a separate method withi

Question about RollingLogFileAppender

2008-06-04 Thread Pranav Varia
Currently I have RollingLogFileAppender configured to hold a max of 20 files PER HOUR as follows: This configuration keeps last 20 files FOR EACH HOUR and hence the number of files add up indefinitely over time. Is there a way to

Re: RollingLogFileAppender

2008-02-19 Thread Beyers Cronje
; > > > Hope this helps. > > > > *Randall Price* > > > > Secure Enterprise Technology Initiatives > > Microsoft Implementation Group > > Virginia Tech Information Technology > > 1700 Pratt Drive > > Blacksburg, VA 24060 > > > > Emai

RE: RollingLogFileAppender

2008-02-19 Thread Price, Randall
Monday, February 18, 2008 5:46 AM To: [email protected] Subject: RollingLogFileAppender Hi all, Quick question. I am using a RollingLogFileAppender on a webservice. Logging works 100%, but whenever I try to open the log file for reading in another process I get a sharing violation on t

Re: RollingLogFileAppender

2008-02-18 Thread G�ran Roseen
45 AM, Beyers Cronje <[EMAIL PROTECTED]> wrote: Hi all, Quick question. I am using a RollingLogFileAppender on a webservice. Logging works 100%, but whenever I try to open the log file for reading in another process I get a sharing violation on the log file. I open the file with: FileSt

Re: RollingLogFileAppender

2008-02-18 Thread Michael Schall
This is not an answer, but I open log files with notepad++ all the time and I don't have the MinimalLock flag set. There must be a way... On Feb 18, 2008 4:45 AM, Beyers Cronje <[EMAIL PROTECTED]> wrote: > Hi all, > > Quick question. I am using a RollingLogFileAppe

RollingLogFileAppender

2008-02-18 Thread Beyers Cronje
Hi all, Quick question. I am using a RollingLogFileAppender on a webservice. Logging works 100%, but whenever I try to open the log file for reading in another process I get a sharing violation on the log file. I open the file with: FileStream file = new FileStream(fileName, FileMode.Open

Re: Need help about RollingLogfileAppender.

2006-12-11 Thread pvphuc
://www.nabble.com/Need-help-about-RollingLogfileAppender.-tf2805347.html#a7828502 Sent from the Log4net - Users mailing list archive at Nabble.com.

Need help about RollingLogfileAppender.

2006-12-11 Thread pvphuc
I have read document about Log4Net and I have some info about RollingLogFileAppender : The new file will be created depend on the size or date in Config file. Is it right ? If it is right, I configured my file Log4Net.Config : I think a new

RE: Error: Unable to find the specified file (RollingLogFileAppender)

2006-07-18 Thread Nicko Cadell
y 2006 12:55 > To: Log4NET User > Subject: Re: Error: Unable to find the specified file > (RollingLogFileAppender) > > Loocking the .dll file, shows me 1.1.1.33753 > > > On 7/18/06, Nicko Cadell <[EMAIL PROTECTED]> wrote: > > Pablo, >

Re: Error: Unable to find the specified file (RollingLogFileAppender)

2006-07-18 Thread Pablo Rodrigo
logging.apache.org > Subject: Error: Unable to find the specified file> (RollingLogFileAppender)>> Hi,> After a long time processing, the log4net fail on writing the> log file.> Here it is the error: >> Exception Information> System.IO.FileNotFoundException: Una

RE: Error: Unable to find the specified file (RollingLogFileAppender)

2006-07-18 Thread Nicko Cadell
Pablo, Which version of log4net are you using? Cheers, Nicko > -Original Message- > From: Pablo Rodrigo [mailto:[EMAIL PROTECTED] > Sent: 18 July 2006 12:28 > To: [email protected] > Subject: Error: Unable to find the specified file > (RollingLogFil

Error: Unable to find the specified file (RollingLogFileAppender)

2006-07-18 Thread Pablo Rodrigo
Hi, After a long time processing, the log4net fail on writing the log file. Here it is the error:   Exception InformationSystem.IO.FileNotFoundException: Unable to find the specified file.   at System.IO.__Error.WinIOError(Int32 errorCode, String str)   at System.IO.__Error.WinIOError()   at System

RE: RollingLogFileAppender stopped rolling

2004-06-22 Thread Dag Christensen
versions? Dag From: atspm2002 [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 6:53 PM To: [email protected] Subject: RollingLogFileAppender stopped rolling Hi, I started using RollingLogFileAppender 3 month ago. It worked fine until recently. It stopped rolling for no r

RollingLogFileAppender stopped rolling

2004-06-21 Thread atspm2002
Hi, I started using RollingLogFileAppender 3 month ago. It worked fine until recently. It stopped rolling for no reason. The file hasn't been rolled to a new file in 5 days. There isn't any configuration change. The dll version is 1.2.0.30714. Here is the Config I am using. Thanks for