[
https://issues.apache.org/jira/browse/SOLR-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Ernst updated SOLR-4977:
-----------------------------
Attachment: SOLR-4977.patch
{quote}
my only other comment is i think it should go to slf4j with
LoggerFactory.getLogger instead of log4j?
{quote}
Doh! I blame autocomplete. Fixed.
{quote}
And we probably want to fix the verbage/examples under example/**/solrconfig.xml
{quote}
Good point. Done.
New patch addresses both of these.
Also, here is an example of the output (using junit's log format):
{noformat}
14690 T10 C0 oasu.LoggingInfoStream.message
[IW][SUITE-TestIndexingPerformance-seed#[F536639DD826197C]-worker]: now flush
at close waitForMerges=true
14711 T10 C0 oasu.LoggingInfoStream.message
[IW][SUITE-TestIndexingPerformance-seed#[F536639DD826197C]-worker]: start
flush: applyAllDeletes=true
14712 T10 C0 oasu.LoggingInfoStream.message
[IW][SUITE-TestIndexingPerformance-seed#[F536639DD826197C]-worker]: index
before flush
14712 T10 C0 oasu.LoggingInfoStream.message
[DW][SUITE-TestIndexingPerformance-seed#[F536639DD826197C]-worker]:
SUITE-TestIndexingPerformance-seed#[F536639DD826197C]-worker startFullFlush
14712 T10 C0 oasu.LoggingInfoStream.message
[DW][SUITE-TestIndexingPerformance-seed#[F536639DD826197C]-worker]: anyChanges?
numDocsInRam=0 deletes=false hasTickets:false pendingChangesInFullFlush: false
{noformat}
> info stream in solrconfig should have option for writing to the solr log
> ------------------------------------------------------------------------
>
> Key: SOLR-4977
> URL: https://issues.apache.org/jira/browse/SOLR-4977
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan Ernst
> Attachments: SOLR-4977.patch, SOLR-4977.patch, SOLR-4977.patch
>
>
> Having a separate file is annoying, plus the print stream option doesn't
> rollover on size or date, doesn't have custom formatting options, etc.
> Exactly what the logging lib is meant to handle.
--
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]