You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tsuyoshi Ito (JIRA)" <ji...@apache.org> on 2011/01/03 08:41:45 UTC

[jira] Created: (CLEREZZA-383) Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis.

Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis. 
------------------------------------------------------------------------------------------------------------------------

                 Key: CLEREZZA-383
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-383
             Project: Clerezza
          Issue Type: Improvement
            Reporter: Tsuyoshi Ito


archive file name suggestion: clerezza.log.yyyy-mm-dd

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


[jira] Commented: (CLEREZZA-383) Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis.

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976672#action_12976672 ] 

Reto Bachmann-Gmür commented on CLEREZZA-383:
---------------------------------------------

I gladly change the file-name. could you specify the log4j properties you think should be the default?

Not sure about the 50MB, larger files are still manageable and its advantage to just have one file per day.

> Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis. 
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-383
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-383
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ito
>
> archive file name suggestion: clerezza.log.yyyy-mm-dd

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


[jira] Commented: (CLEREZZA-383) Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis.

Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976706#action_12976706 ] 

Tsuyoshi Ito commented on CLEREZZA-383:
---------------------------------------

found configuration of logging service under http://localhost:8080/admin/logging/ :-)

Suggest to use DailyRollingFileAppender as default

log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.DatePattern='.'yyyy-MM-dd


 [maxFileSize] and [maxBackupIndex] are not available in DailyRollingFileAppender


> Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis. 
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-383
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-383
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ito
>
> archive file name suggestion: clerezza.log.yyyy-mm-dd

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


[jira] Commented: (CLEREZZA-383) Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis.

Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976676#action_12976676 ] 

Tsuyoshi Ito commented on CLEREZZA-383:
---------------------------------------

Ok, I agree: one file per day makes more sense

> Log file size and file name improvement: a file should not be larger than 50MB and should be archived on a daily basis. 
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-383
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-383
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ito
>
> archive file name suggestion: clerezza.log.yyyy-mm-dd

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