You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Tal G (JIRA)" <ji...@apache.org> on 2006/07/25 09:53:13 UTC

[jira] Created: (LOG4NET-85) Add .txt to the log file name

Add .txt to the log file name
-----------------------------

                 Key: LOG4NET-85
                 URL: http://issues.apache.org/jira/browse/LOG4NET-85
             Project: Log4net
          Issue Type: Improvement
          Components: Appenders
    Affects Versions: 1.2.10
         Environment: All
            Reporter: Tal G
            Priority: Minor


When working with RollingFileAppender, the files name is end with some id like log.0, log.2 .. log.20.
But those file extensions are not associated with a text file editor such as notepad.

I suggest adding .txt to those names such as log.1.txt, log.2.txt .. log.20.txt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (LOG4NET-85) Add .txt to the log file name

Posted by "Mike Blake-Knox (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LOG4NET-85?page=all ]

Mike Blake-Knox updated LOG4NET-85:
-----------------------------------

    Attachment: RollingFileAppender.patch

The need is also met by the Preserve File Extension code (originally from Joshua Bassett and later modified by me).

The patch was created using the latest version in SVN.

Mike

> Add .txt to the log file name
> -----------------------------
>
>                 Key: LOG4NET-85
>                 URL: http://issues.apache.org/jira/browse/LOG4NET-85
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Tal G
>            Priority: Minor
>         Attachments: RollingFileAppender.patch
>
>
> When working with RollingFileAppender, the files name is end with some id like log.0, log.2 .. log.20.
> But those file extensions are not associated with a text file editor such as notepad.
> I suggest adding .txt to those names such as log.1.txt, log.2.txt .. log.20.txt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (LOG4NET-85) Add .txt to the log file name

Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LOG4NET-85?page=all ]

Ron Grabowski resolved LOG4NET-85.
----------------------------------

    Resolution: Duplicate

Yes this would be nic to have but adding support for this isn't just a matter of adding one or two lines of code.

Duplicate of LOG4NET-64. 

> Add .txt to the log file name
> -----------------------------
>
>                 Key: LOG4NET-85
>                 URL: http://issues.apache.org/jira/browse/LOG4NET-85
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Tal G
>            Priority: Minor
>
> When working with RollingFileAppender, the files name is end with some id like log.0, log.2 .. log.20.
> But those file extensions are not associated with a text file editor such as notepad.
> I suggest adding .txt to those names such as log.1.txt, log.2.txt .. log.20.txt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (LOG4NET-85) Add .txt to the log file name

Posted by "Tal G (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LOG4NET-85?page=comments#action_12423537 ] 
            
Tal G commented on LOG4NET-85:
------------------------------

It is not a line or two, but I did it in 15 minutes. Maybe I didn't do it in the nicest way, but anyway it should not take more than one day of one programmer.

> Add .txt to the log file name
> -----------------------------
>
>                 Key: LOG4NET-85
>                 URL: http://issues.apache.org/jira/browse/LOG4NET-85
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Tal G
>            Priority: Minor
>
> When working with RollingFileAppender, the files name is end with some id like log.0, log.2 .. log.20.
> But those file extensions are not associated with a text file editor such as notepad.
> I suggest adding .txt to those names such as log.1.txt, log.2.txt .. log.20.txt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (LOG4NET-85) Add .txt to the log file name

Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LOG4NET-85?page=comments#action_12423621 ] 
            
Ron Grabowski commented on LOG4NET-85:
--------------------------------------

We always welcome patches. If you think others would benefit from your solution attach it to this issue.

> Add .txt to the log file name
> -----------------------------
>
>                 Key: LOG4NET-85
>                 URL: http://issues.apache.org/jira/browse/LOG4NET-85
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Tal G
>            Priority: Minor
>
> When working with RollingFileAppender, the files name is end with some id like log.0, log.2 .. log.20.
> But those file extensions are not associated with a text file editor such as notepad.
> I suggest adding .txt to those names such as log.1.txt, log.2.txt .. log.20.txt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira