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

jm commented on SOLR-4238:
--------------------------

Thanks Hos for taking care of this.

I have to clarify two things:

1. I changed the wrong property when creating the patch :(, the only thing I 
should have changed was as I said in the description:
<Set name="filenameDateFormat">yyyy_MM_dd</Set>

2. the reason filename was not changed, is that according to 
http://stackoverflow.com/questions/11527194/jetty-access-log-is-no-longer-logging
 is not clear filename must match filenameDateFormat, and that retainDays won't 
work if you change that format (see Bob Kuhar's comment). And I have verified 
the filename created is correct when changing just filenameDateFormat

so not sure you should change filename, up to you.

jm

                
> filename pattern of jetty request log file in sample example\etc\jetty.xml is 
> wrong
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-4238
>                 URL: https://issues.apache.org/jira/browse/SOLR-4238
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: jm
>            Assignee: Hoss Man
>            Priority: Minor
>              Labels: logging
>             Fix For: 4.1, 5.0
>
>         Attachments: solr-4238.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> This is being used now:
>                 <Set name="filenameDateFormat">yyyy_mm_dd</Set>
> but mm means minutes (I guess) and filenames created are not meaningfull. 
> Changing to 
>                 <Set name="filenameDateFormat">yyyy_MM_dd</Set>
> creates proper filenames.
> Note that the logger is commented out by default, but I always enable it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to