akanksha gupta (JIRA | 15 Jun 2012 07:53
Picon
Favicon

[jira] [Created] (LOG4NET-345) log file naming issue

akanksha gupta created LOG4NET-345:
--------------------------------------

             Summary: log file naming issue
                 Key: LOG4NET-345
                 URL: https://issues.apache.org/jira/browse/LOG4NET-345
             Project: Log4net
          Issue Type: Bug
          Components: Appenders
         Environment: Asp.net application
            Reporter: akanksha gupta
            Priority: Critical

hi,
i am using log4net in my asp.net application,

How can I change the configuration so files are rolled to [FileName][Date].[ext] rather than [FileName].[ext][Date]

my web.config file is as follows:-

<

log4net>
<

logger name="WebTFEUI">
<

level value="ALL"/>
<
(Continue reading)

akanksha gupta (JIRA | 15 Jun 2012 09:15
Picon
Favicon

[jira] [Updated] (LOG4NET-345) log file naming issue


     [
https://issues.apache.org/jira/browse/LOG4NET-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

akanksha gupta updated LOG4NET-345:
-----------------------------------

    Description: 
hi,
i am using log4net in my asp.net application,

How can I change the configuration so files are rolled to [FileName][Date].[ext] rather than [FileName].[ext][Date]

my web.config file is as follows:-

<

log4net>
<

logger name="WebTFEUI">
<

level value="ALL"/>
<

appender-ref ref="RollingFile"/>
</

logger>
(Continue reading)

akanksha gupta (JIRA | 19 Jun 2012 13:12
Picon
Favicon

[jira] [Commented] (LOG4NET-345) log file naming issue


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

akanksha gupta commented on LOG4NET-345:
----------------------------------------

hi,

Please kindly provide any update on this issue its very urgent.

> log file naming issue
> ---------------------
>
>                 Key: LOG4NET-345
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-345
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>         Environment: Asp.net application
>            Reporter: akanksha gupta
>            Priority: Critical
>
> hi,
> i am using log4net in my asp.net application,
> How can I change the configuration so files are rolled to [FileName][Date].[ext] rather than [FileName].[ext][Date]
> my web.config file is as follows:-
> <
> log4net>
(Continue reading)

Ron Grabowski (JIRA | 20 Jun 2012 05:20
Picon
Favicon

[jira] [Commented] (LOG4NET-345) log file naming issue


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

Ron Grabowski commented on LOG4NET-345:
---------------------------------------

Did you try Google or stackoverflow.com?

http://stackoverflow.com/questions/1165084/log4net-rolling-daily-filename-with-date-in-the-file-name

<param name="DatePattern" value="dd.MM.yyyy'.log'" />

> log file naming issue
> ---------------------
>
>                 Key: LOG4NET-345
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-345
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>         Environment: Asp.net application
>            Reporter: akanksha gupta
>            Priority: Critical
>
> hi,
> i am using log4net in my asp.net application,
> How can I change the configuration so files are rolled to [FileName][Date].[ext] rather than [FileName].[ext][Date]
> my web.config file is as follows:-
(Continue reading)

akanksha gupta (JIRA | 20 Jun 2012 06:16
Picon
Favicon

[jira] [Commented] (LOG4NET-345) log file naming issue


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

akanksha gupta commented on LOG4NET-345:
----------------------------------------

yes i have tried but it is appending date after every file name created on same date,what i want is for the same
day if because of size file gets roll over name should be "SantorinExplorer.1.log" and on next day it
should be renamed "SantorinnExplorer.1.12-06-12.log".

> log file naming issue
> ---------------------
>
>                 Key: LOG4NET-345
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-345
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>         Environment: Asp.net application
>            Reporter: akanksha gupta
>            Priority: Critical
>
> hi,
> i am using log4net in my asp.net application,
> How can I change the configuration so files are rolled to [FileName][Date].[ext] rather than [FileName].[ext][Date]
> my web.config file is as follows:-
> <
> log4net>
(Continue reading)

Yücel Kıvanç (JIRA | 20 Jun 2012 19:28
Picon
Favicon

[jira] [Commented] (LOG4NET-118) RollingFileAppender: RollingStyle=Size with StaticLogFileName=false does not work


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

Yücel Kıvanç commented on LOG4NET-118:
--------------------------------------

Having the same problem

> RollingFileAppender: RollingStyle=Size with StaticLogFileName=false does not work
> ---------------------------------------------------------------------------------
>
>                 Key: LOG4NET-118
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-118
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Windows 2003 / Microsoft .NET Framework 2.0
>            Reporter: Patrick Gautschi
>            Priority: Minor
>             Fix For: 1.2 Maintenance Release
>
>
> When using the an appender configuration like
>     <appender name="InfoFile" type="log4net.Appender.RollingFileAppender">
>       <file value="info.log" />
>       <appendToFile value="false" />
>       <encoding value="utf-8" />
(Continue reading)

akanksha gupta (JIRA | 20 Jun 2012 06:24
Picon
Favicon

[jira] [Comment Edited] (LOG4NET-345) log file naming issue


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

akanksha gupta edited comment on LOG4NET-345 at 6/20/12 4:24 AM:
-----------------------------------------------------------------

yes i have tried but it is appending date after every file name created on same date,what i want is for the same
day if because of size file gets roll over name should be "SantorinExplorer.1.log" and on next day it
should be renamed "SantorinnExplorer.1.12-06-12.log".

the result after setting:-
<rollingStyle value="Composite" />
      <DatePattern value=".yyyy-MM-dd.lo\\g"/>
<file value="Log/SantorinExplorer"/>
<rollingMode value="Date"/>
<staticLogFileName value="false"/>

Log file names:-

SantorinExplorer.2012-06-22-   should be SantorinExplorer on 2012-06-22 and on 2012-06-23 should be SantorinExplorer.2012-06-22

SantorinExplorer.2012-06-22.log- should be SantorinExplorer.2012-06-22.1.log
SantorinExplorer.2012-06-22.log.2-should be SantorinExplorer.2012-06-22.2.log
SantorinExplorer.2012-06-23

                
      was (Author: akanksha):
    yes i have tried but it is appending date after every file name created on same date,what i want is for the same
(Continue reading)

akanksha gupta (JIRA | 20 Jun 2012 06:41
Picon
Favicon

[jira] [Comment Edited] (LOG4NET-345) log file naming issue


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

akanksha gupta edited comment on LOG4NET-345 at 6/20/12 4:40 AM:
-----------------------------------------------------------------

yes i have tried but it is appending date after every file name created on same date,what i want is for the same
day if because of size file gets roll over name should be "SantorinExplorer.1.log" and on next day it
should be renamed "SantorinnExplorer.1.12-06-12.log".

the result after setting:-
<rollingStyle value="Composite" />
      <DatePattern value=".yyyy-MM-dd.lo\\g"/>
<file value="Log/SantorinExplorer"/>
<rollingMode value="Date"/>
<staticLogFileName value="false"/>

Log file names:-

SantorinExplorer.2012-06-22-   should be SantorinExplorer on 2012-06-22 and on 2012-06-23 should be SantorinExplorer.2012-06-22

SantorinExplorer.2012-06-22.log- should be SantorinExplorer.1.log but on next day it should be-SantorinExplorer.1.2012-06-22.log
SantorinExplorer.2012-06-22.log.2-should be SantorinExplorer.2.log but on next day it should be-SantorinExplorer.2.2012-06-22.log

SantorinExplorer.2012-06-23

                
      was (Author: akanksha):
(Continue reading)


Gmane