[ 
https://issues.apache.org/jira/browse/LOG4NET-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681961#action_12681961
 ] 

Ron Grabowski commented on LOG4NET-135:
---------------------------------------

Any time appendToFile is set to False (when either explicitly set or with 
rollingStyle=Once) a new file will be created when the application starts. The 
example is using rollingStyle=Size to illustrate that you can always roll a 
file even if you create a new one for each program start. Log files become 
difficult to manage when they get to be a couple hundred megabytes. Being able 
to roll those at regular intervals is always helpful. I'll see about making a 
simpler example.

> Bad example code in documentation
> ---------------------------------
>
>                 Key: LOG4NET-135
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-135
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders, Documentation
>    Affects Versions: 1.2.10
>            Reporter: Ansgar Flack
>            Assignee: Ron Grabowski
>            Priority: Minor
>             Fix For: 1.2.11
>
>
> http://logging.apache.org/log4net/release/config-examples.html
> The last code example under "RollingFileAppender" seems to be wrong. 
> Shouldn't it be:
> <rollingStyle value="Once" />

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to