You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Fuad Efendi (JIRA)" <ji...@apache.org> on 2010/11/11 15:13:13 UTC
[jira] Created: (SOLR-2231) DataImportHandler - MultiThreaded -
Logging
DataImportHandler - MultiThreaded - Logging
-------------------------------------------
Key: SOLR-2231
URL: https://issues.apache.org/jira/browse/SOLR-2231
Project: Solr
Issue Type: Improvement
Affects Versions: 1.5
Reporter: Fuad Efendi
Priority: Trivial
Please use
{code}
if (LOG.isInfoEnabled()) LOG.info(...)
{code}
For instance, line 95 of ThreadedEntityProcessorWrapper creates huge log output which is impossible to manage via logging properties:
LOG.info("arow : "+arow);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (SOLR-2231) DataImportHandler - MultiThreaded -
Logging
Posted by "James Dyer (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dyer resolved SOLR-2231.
------------------------------
Resolution: Won't Fix
Assignee: James Dyer
Multi-Threading was removed from DIH in 4.0
> DataImportHandler - MultiThreaded - Logging
> -------------------------------------------
>
> Key: SOLR-2231
> URL: https://issues.apache.org/jira/browse/SOLR-2231
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 1.5
> Reporter: Fuad Efendi
> Assignee: James Dyer
> Priority: Trivial
>
> Please use
> {code}
> if (LOG.isInfoEnabled()) LOG.info(...)
> {code}
> For instance, line 95 of ThreadedEntityProcessorWrapper creates huge log output which is impossible to manage via logging properties:
> LOG.info("arow : "+arow);
> This line (in a loop) will output results of all SQL from a database (and will slow down SOLR performance). It's even better to use LOG.debug instead of LOG.info, INFO is enabled by default.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2231) DataImportHandler - MultiThreaded -
Logging
Posted by "Fuad Efendi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fuad Efendi updated SOLR-2231:
------------------------------
Description:
Please use
{code}
if (LOG.isInfoEnabled()) LOG.info(...)
{code}
For instance, line 95 of ThreadedEntityProcessorWrapper creates huge log output which is impossible to manage via logging properties:
LOG.info("arow : "+arow);
This line (in a loop) will output results of all SQL from a database (and will slow down SOLR performance). It's even better to use LOG.debug instead of LOG.info, INFO is enabled by default.
was:
Please use
{code}
if (LOG.isInfoEnabled()) LOG.info(...)
{code}
For instance, line 95 of ThreadedEntityProcessorWrapper creates huge log output which is impossible to manage via logging properties:
LOG.info("arow : "+arow);
> DataImportHandler - MultiThreaded - Logging
> -------------------------------------------
>
> Key: SOLR-2231
> URL: https://issues.apache.org/jira/browse/SOLR-2231
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 1.5
> Reporter: Fuad Efendi
> Priority: Trivial
>
> Please use
> {code}
> if (LOG.isInfoEnabled()) LOG.info(...)
> {code}
> For instance, line 95 of ThreadedEntityProcessorWrapper creates huge log output which is impossible to manage via logging properties:
> LOG.info("arow : "+arow);
> This line (in a loop) will output results of all SQL from a database (and will slow down SOLR performance). It's even better to use LOG.debug instead of LOG.info, INFO is enabled by default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org