[jboss-jira] [JBoss JIRA] Commented: (JBLOGGING-72) Debug log lines numbers are incorrect

David Lloyd (JIRA) jira-events at lists.jboss.org
Thu Sep 29 08:57:26 EDT 2011


    [ https://issues.jboss.org/browse/JBLOGGING-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631273#comment-12631273 ] 

David Lloyd commented on JBLOGGING-72:
--------------------------------------

If you're using jboss-logging-tools in the build to generate localized error messages, make sure you're on the latest.  If you're using a log facade class of your own, make sure you specify the class name in the call to the logger.

> Debug log lines numbers are incorrect
> -------------------------------------
>
>                 Key: JBLOGGING-72
>                 URL: https://issues.jboss.org/browse/JBLOGGING-72
>             Project: JBoss Logging
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0.GA
>            Reporter: Hardy Ferentschik
>            Assignee: David Lloyd
>            Priority: Critical
>
> In Hibernate we switched to JBoss logging. Looking at the debug log we get for example:
> {noformat}
> 11:20:06,528 (main) DEBUG ConfigContext:1269 - Setting Lucene compatibility to Version LUCENE_CURRENT
> 11:20:06,529 (main) DEBUG ConfigContext:1554 - Using default similarity implementation: org.apache.lucene.search.DefaultSimilarity
> 11:20:06,529 (main) DEBUG LuceneIndexingParameters:1559 - Set index writer parameter max_buffered_docs to value : 1000
> 11:20:06,529 (main) DEBUG LuceneIndexingParameters:1559 - Set index writer parameter merge_factor to value : 100
> 11:20:06,529 (main) DEBUG WorkspaceFactory:1549 - Starting workspace for index numeric_field_test using an exclusive index strategy
> 11:20:06,530 (main)  INFO AvroSerializationProvider:73 - HSEARCH000079: Serialization protocol version 1.0
> 11:20:06,535 (main) DEBUG DocumentBuilderIndexedEntity:1559 - Field selection in projections is set to true for entity org.hibernate.search.test.engine.PinPoint.
> 11:20:06,536 (main) DEBUG DocumentBuilderIndexedEntity:1559 - Field selection in projections is set to true for entity org.hibernate.search.test.engine.Location.
> 11:20:06,537 (main) DEBUG FullTextIndexEventListener:1269 - Hibernate Search event listeners activated
> 11:20:06,537 (main) DEBUG FullTextIndexEventListener:1269 - Hibernate Search dirty checks enabled
> {noformat}
> The lines numbers for the debug trace are wrong and in most cases exceed even the actual line numbers in the corresponding file

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list