[jira] [Commented] (SOLR-2644) DIH handler - when using threads=2 the default logging is set too high

2011-07-11 Thread Bill Bell (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13063664#comment-13063664
 ] 

Bill Bell commented on SOLR-2644:
-

New patch you forgot 
solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DocBuilder.java.

Also, I would rather change to debug and leave it.

 DIH handler - when using threads=2 the default logging is set too high
 --

 Key: SOLR-2644
 URL: https://issues.apache.org/jira/browse/SOLR-2644
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 3.3
Reporter: Bill Bell
Assignee: Shalin Shekhar Mangar
 Fix For: 3.4, 4.0

 Attachments: SOLR-2644-2.patch, SOLR-2644.patch


 Setting threads parameter in DIH handler, every add outputs to the log in 
 INFO level.
 The only current solution is to set the following in log4j.properties:
 log4j.rootCategory=INFO, logfile
 log4j.logger.org.apache.solr.handler.dataimport.DocBuilder=FATAL
 log4j.logger.org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper=FATAL
 These 2 log messages need to be changed to DEBUG.

--
This message is automatically generated by JIRA.
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



[jira] [Commented] (SOLR-2644) DIH handler - when using threads=2 the default logging is set too high

2011-07-10 Thread Bill Bell (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13062824#comment-13062824
 ] 

Bill Bell commented on SOLR-2644:
-

Example of threads=2.
document
entity name=main threads=2 transformer=RegexTransformer
   query=select * from table
/entity
/document


 DIH handler - when using threads=2 the default logging is set too high
 --

 Key: SOLR-2644
 URL: https://issues.apache.org/jira/browse/SOLR-2644
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 3.3
Reporter: Bill Bell

 Setting threads parameter in DIH handler, every add outputs to the log in 
 INFO level.
 The only current solution is to set the following in log4j.properties:
 log4j.rootCategory=INFO, logfile
 log4j.logger.org.apache.solr.handler.dataimport.DocBuilder=FATAL
 log4j.logger.org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper=FATAL
 These 2 log messages need to be changed to  INFO.

--
This message is automatically generated by JIRA.
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



[jira] [Commented] (SOLR-2644) DIH handler - when using threads=2 the default logging is set too high

2011-07-10 Thread Bill Bell (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13062827#comment-13062827
 ] 

Bill Bell commented on SOLR-2644:
-

Example logging:

Jul 10, 2011 5:21:50 PM 
org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper nextRow
INFO: arow : {id=635, priority=1, prof_type=1, user_query=Clinical Biochemical 
Geneticist}
Jul 10, 2011 5:21:50 PM 
org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper nextRow
INFO: arow : {id=636, priority=1, prof_type=1, user_query=Clinical 
Cytogeneticist}
Jul 10, 2011 5:21:50 PM 
org.apache.solr.handler.dataimport.DocBuilder$EntityRunner runAThread
INFO: a row on docrootSolrInputDocument[{id=id(1.0)={635}, 
priority=priority(1.0)={1}, prof_type=prof_type(1.0)={1}, 
user_query=user_query(1.0)={Clinical Biochemical Geneticist}}]


 DIH handler - when using threads=2 the default logging is set too high
 --

 Key: SOLR-2644
 URL: https://issues.apache.org/jira/browse/SOLR-2644
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 3.3
Reporter: Bill Bell

 Setting threads parameter in DIH handler, every add outputs to the log in 
 INFO level.
 The only current solution is to set the following in log4j.properties:
 log4j.rootCategory=INFO, logfile
 log4j.logger.org.apache.solr.handler.dataimport.DocBuilder=FATAL
 log4j.logger.org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper=FATAL
 These 2 log messages need to be changed to  INFO.

--
This message is automatically generated by JIRA.
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



[jira] [Commented] (SOLR-2644) DIH handler - when using threads=2 the default logging is set too high

2011-07-10 Thread Bill Bell (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13062849#comment-13062849
 ] 

Bill Bell commented on SOLR-2644:
-

Example:

Jul 10, 2011 10:17:54 PM 
org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper nextRow
INFO: arow : {id=622, priority=1, prof_type=3, user_query=Naturopath}
Jul 10, 2011 10:17:54 PM 
org.apache.solr.handler.dataimport.DocBuilder$EntityRunner runAThread
INFO: a row on docrootSolrInputDocument[{id=id(1.0)={622}, 
priority=priority(1.0)={1}, prof_type=prof_type(1.0)={3}, 
user_query=user_query(1.0)={Naturopath}}]

Logging.properties:

# Default global logging level:
.level=INFO

# Write to a file:
handlers=java.util.logging.FileHandler

# Write log messages in XML format (SimpleFormatter or XMLFormatter)
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter

# Log to the current working directory, with log files named solrxxx.log
java.util.logging.FileHandler.pattern=C:/solr/jetty-6.1.25/jetty-6.1.25/solr/logs/Solr%u.log.txt

# Limiting size of output file in bytes: 1GB
java.util.logging.FileHandler.limit=102400

# Number of output files to cycle through, by appending an 
# integer to the base file name: (faster performance when set to  1)
java.util.logging.FileHandler.count=1

java.util.logging.FileHandler.append=1

#org.apache.solr.handler.dataimport.DocBuilder.level = SEVERE
#org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper.level = 
SEVERE





 DIH handler - when using threads=2 the default logging is set too high
 --

 Key: SOLR-2644
 URL: https://issues.apache.org/jira/browse/SOLR-2644
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 3.3
Reporter: Bill Bell

 Setting threads parameter in DIH handler, every add outputs to the log in 
 INFO level.
 The only current solution is to set the following in log4j.properties:
 log4j.rootCategory=INFO, logfile
 log4j.logger.org.apache.solr.handler.dataimport.DocBuilder=FATAL
 log4j.logger.org.apache.solr.handler.dataimport.ThreadedEntityProcessorWrapper=FATAL
 These 2 log messages need to be changed to  INFO.

--
This message is automatically generated by JIRA.
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