logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ITemplate <itempl...@hotmail.com>
Subject Re: StaticLogFileName meaning?
Date Tue, 27 Apr 2010 09:16:25 GMT

Alright, I read that I should just leave it be. Thanks!


Yuriy Taraday wrote:
> 
> By default, if you have a lot of size-rollings at one day, log4net has
> to rename all backups every rolling time.
> If you set CountDirection to 1, it'll only rename every new file ready
> for rolling.
> If you unset this StaticLogFileName flag, renaming will not be nesessary
> at all.
> 
> On Tue, Apr 27, 2010 at 10:13 AM, ITemplate <itemplate@hotmail.com> wrote:
>>
>> Hm ok but why is one option better than the other? Should I care?
>>
>>
>> Yuriy Taraday wrote:
>>>
>>> Hi.
>>>
>>> If there's true, you always log to your example.log file, which is
>>> renamed as part of rollover procedure.
>>> If there's false, you always log to example.log.yyyy-MM-dd.N (in
>>> common case) file and rollover is just creating one more such file.
>>>
>>> On Mon, Apr 26, 2010 at 5:39 PM, ITemplate <itemplate@hotmail.com>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I read this:
>>>> http://logging.apache.org/log4net/release/sdk/log4net.Appender.RollingFileAppender.StaticLogFileName.html
>>>>
>>>> Plz don't laugh, but I don't understand that english :). Could someone
>>>> rephrase what that boolean means? What is the default value and should
>>>> I
>>>> change that to true or false? Of course I have tried to set this
>>>> boolean
>>>> but
>>>> dont see any apparant differences...
>>>>
>>>> --
>>>> Werner
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/StaticLogFileName-meaning--tp28364406p28364406.html
>>>> Sent from the Log4net - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/StaticLogFileName-meaning--tp28364406p28373227.html
>> Sent from the Log4net - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/StaticLogFileName-meaning--tp28364406p28374721.html
Sent from the Log4net - Users mailing list archive at Nabble.com.


Mime
View raw message