Browse Source

Add logging output when starting Wildfly

This commit (which will be reverted soon) adds logging on the output of
starting Wildfly. This is needed to debug an issue with Wildfly not
starting in CI.
Jason Tedor 7 years ago
parent
commit
8342ba9108
1 changed files with 1 additions and 0 deletions
  1. 1 0
      qa/wildfly/build.gradle

+ 1 - 0
qa/wildfly/build.gradle

@@ -122,6 +122,7 @@ task startWildfly {
             String line
             String line
             int httpPort = 0
             int httpPort = 0
             while ((line = br.readLine()) != null) {
             while ((line = br.readLine()) != null) {
+                logger.info(line)
                 if (line.matches('.*Undertow HTTP listener default listening on .*:\\d+$')) {
                 if (line.matches('.*Undertow HTTP listener default listening on .*:\\d+$')) {
                     assert httpPort == 0
                     assert httpPort == 0
                     final int index = line.lastIndexOf(":")
                     final int index = line.lastIndexOf(":")