[jboss-jira] [JBoss JIRA] (LOGTOOL-58) Logger full class name issue in generated sources

David Lloyd (JIRA) jira-events at lists.jboss.org
Tue Sep 18 08:44:35 EDT 2012


     [ https://issues.jboss.org/browse/LOGTOOL-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd reassigned LOGTOOL-58:
----------------------------------

    Assignee: James Perkins  (was: David Lloyd)

    
> Logger full class name issue in generated sources
> -------------------------------------------------
>
>                 Key: LOGTOOL-58
>                 URL: https://issues.jboss.org/browse/LOGTOOL-58
>             Project: Log Tool
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.3.Final
>            Reporter: Alessio Soldano
>            Assignee: James Perkins
>
> I'm running the log file generation as described in https://community.jboss.org/wiki/JBossLoggingTooling#mavencompilerplugin (jboss-logging-processor 1.0.3.Final) and getting compile errors if the name of my @MessageLogger annotated interface name is Logger (regardless of the package).
> Here is part of the generated source for an annotated class org.jboss.ws.api.Logger:
> {code}
> package org.jboss.ws.api;
> ...
> @Generated(value = "org.jboss.logging.processor.model.MessageLoggerImplementor", date = "2012-09-18T11:56:34+0200")
> public class Logger_$logger
>     extends DelegatingBasicLogger
>     implements Serializable, BasicLogger, org.jboss.ws.api.Logger
> {
> ...
> public Logger_$logger(final org.jboss.logging.Logger log) {
>         super(log);
>     }
>     public final void creatingUnifiedWebservicesDeploymentModel(final Object unit) {
>         super.log.logf(FQCN, (Logger.Level.TRACE), null, ((projectCode +"015503: ")+ creatingUnifiedWebservicesDeploymentModel$str()), unit);
>     }
> {code}
> Please note the "Logger.Level.TRACE" should actually be "org.jboss.logging.Logger.Level.TRACE"; the constructor parameter has the proper full class name specified instead.

--
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


More information about the jboss-jira mailing list