-
Bug
-
Resolution: Done
-
Major
-
1.0.3.Final
-
None
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:
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); }
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.