[
https://issues.apache.org/jira/browse/SOLR-4547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601793#comment-13601793
]
Shawn Heisey commented on SOLR-4547:
------------------------------------
Patch does apply cleanly to trunk, the CHANGES.txt hunk is offset by 18 lines.
Solr tests on 4.x pass. The resulting logs look good to me at INFO and DEBUG.
I did find some other verbose logs. These dump all the segments, but not all
the individual filenames. The toString() method is involved here, so fixing
these will require more thought. Perhaps a toStringTerse() or similar method?
Should that be in a separate patch/issue?
{noformat}
INFO - 2013-03-13 15:50:09.560; org.apache.solr.core.QuerySenderListener;
QuerySenderListener sending requests to Searcher@7c881bd6
main{StandardDirectoryReader(segments_d3c:40659 _d2i(4.3):C338038/27
_d2j(4.3):C61 _d2k(4.3):C47/2 _d2l(4.3):C66 _d2m(4.3):C56 _d2n(4.3):C63
_d2o(4.3):C38/1 _d2p(4.3):C36/1 _d2q(4.3):C46 _d2r(4.3):C59 _d2s(4.3):C46/1
_d2t(4.3):C44 _d2u(4.3):C49 _d2v(4.3):C35 _d2w(4.3):C40 _d2x(4.3):C42/1
_d2y(4.3):C52 _d2z(4.3):C48 _d30(4.3):C34 _d31(4.3):C39/1 _d32(4.3):C61
_d33(4.3):C55 _d34(4.3):C38/1 _d35(4.3):C56 _d36(4.3):C54 _d37(4.3):C61/1
_d38(4.3):C32 _d39(4.3):C55/1 _d3a(4.3):C55 _d3b(4.3):C30 _d3c(4.3):C53/1
_d3d(4.3):C49/1 _d3e(4.3):C35/1 _d3f(4.3):C63 _d3g(4.3):C68 _d3h(4.3):C54
_d3i(4.3):C31/1 _d3j(4.3):C75 _d3k(4.3):C71 _d3l(4.3):C31)}
INFO - 2013-03-13 15:50:09.563; org.apache.solr.core.SolrCore; [inclive]
Registered new searcher Searcher@7c881bd6
main{StandardDirectoryReader(segments_d3c:40659 _d2i(4.3):C338038/27
_d2j(4.3):C61 _d2k(4.3):C47/2 _d2l(4.3):C66 _d2m(4.3):C56 _d2n(4.3):C63
_d2o(4.3):C38/1 _d2p(4.3):C36/1 _d2q(4.3):C46 _d2r(4.3):C59 _d2s(4.3):C46/1
_d2t(4.3):C44 _d2u(4.3):C49 _d2v(4.3):C35 _d2w(4.3):C40 _d2x(4.3):C42/1
_d2y(4.3):C52 _d2z(4.3):C48 _d30(4.3):C34 _d31(4.3):C39/1 _d32(4.3):C61
_d33(4.3):C55 _d34(4.3):C38/1 _d35(4.3):C56 _d36(4.3):C54 _d37(4.3):C61/1
_d38(4.3):C32 _d39(4.3):C55/1 _d3a(4.3):C55 _d3b(4.3):C30 _d3c(4.3):C53/1
_d3d(4.3):C49/1 _d3e(4.3):C35/1 _d3f(4.3):C63 _d3g(4.3):C68 _d3h(4.3):C54
_d3i(4.3):C31/1 _d3j(4.3):C75 _d3k(4.3):C71 _d3l(4.3):C31)}
{noformat}
> Commit logging - move index filenames to DEBUG.
> -----------------------------------------------
>
> Key: SOLR-4547
> URL: https://issues.apache.org/jira/browse/SOLR-4547
> Project: Solr
> Issue Type: Improvement
> Components: update
> Affects Versions: 4.1
> Reporter: Shawn Heisey
> Fix For: 4.3, 5.0
>
> Attachments: solr-4547-insanity.txt, SOLR-4547.patch
>
>
> When an index commit is done (at least with MMap/NRT, haven't checked other
> Directory implementations), all of the filenames in the index are logged
> three times at INFO. I think the information has value to someone if they
> are debugging, but not to most users.
> I propose that we move this part of the log to DEBUG and provide text that
> allows the person/program viewing the log to link the smaller INFO log entry
> with the new one, probably the directory path.
--
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: [email protected]
For additional commands, e-mail: [email protected]