Skip to content

Commit

Permalink
Enable trace logging to debug remote connection timeouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Oct 20, 2014
1 parent 9ddea8d commit 23179df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/bin/ci-prep-wildfly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ conf="${jboss_home}/standalone/configuration/standalone-full.xml"
if [ $(grep -c NIO ${conf}) -eq 0 ]; then
echo "Enabling NIO journal"
sed -i.bak "s/<hornetq-server>/<hornetq-server><journal-type>NIO<\/journal-type>/" ${conf}
echo "Enabling TRACE logging"
sed -i.bak '/<root-logger>/{N; s/<root-logger>.*<level name="INFO"/<root-logger><level name="TRACE"/g}' ${conf}
echo "Adding application user testuser:testuser"
${jboss_home}/bin/add-user.sh --silent -a -u 'testuser' -p 'testuser' -g 'guest'
fi

0 comments on commit 23179df

Please sign in to comment.