Skip to content

Commit

Permalink
WFLY-11209: adds log4j config to jaxws-tools-maven-plugin execution
Browse files Browse the repository at this point in the history
  • Loading branch information
emmartins committed Oct 26, 2018
1 parent c11d56a commit 0f70559
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions jaxws-retail/service/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
log4j.rootLogger=WARN,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%t] %c - %m - %r %n
4 changes: 2 additions & 2 deletions jaxws-retail/service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@
<wsdls>
<wsdl>${basedir}/src/main/webapp/WEB-INF/wsdl/ProfileMgmtService.wsdl</wsdl>
</wsdls>

<fork>true</fork>
<extension>true</extension>
<verbose>false</verbose>
<endpointClass></endpointClass>
<!-- some JDK implementations forbid file access for external schema,
see http://docs.oracle.com/javase/8/docs/api/javax/xml/XMLConstants.html#ACCESS_EXTERNAL_SCHEMA -->
<argLine>-Djavax.xml.accessExternalSchema=all</argLine>
<argLine>-Djavax.xml.accessExternalSchema=all -Dlog4j.configuration=file:${basedir}/log4j.properties</argLine>
<targetPackage>org.jboss.quickstarts.ws.jaxws.samples.retail.profile</targetPackage>
</configuration>
<executions>
Expand Down

0 comments on commit 0f70559

Please sign in to comment.