make stdout synchronous so easier to read log file

Denver Gingerich created

Change summary

mpx-catapult.rb | 4 +++-
sgx-catapult.rb | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)

Detailed changes

mpx-catapult.rb 🔗

@@ -17,7 +17,9 @@
 # You should have received a copy of the GNU Affero General Public License along
 # with sgx-catapult.  If not, see <http://www.gnu.org/licenses/>.
 
-puts "Soprani.ca/MMS Proxy for XMPP - Catapult        v0.004\n\n"
+$stdout.sync = true
+
+puts "Soprani.ca/MMS Proxy for XMPP - Catapult        v0.005\n\n"
 
 require 'goliath'
 require 'net/http'

sgx-catapult.rb 🔗

@@ -31,7 +31,9 @@ require 'goliath/api'
 require 'goliath/server'
 require 'log4r'
 
-puts "Soprani.ca/SMS Gateway for XMPP - Catapult        v0.022\n\n"
+$stdout.sync = true
+
+puts "Soprani.ca/SMS Gateway for XMPP - Catapult        v0.023\n\n"
 
 if ARGV.size != 9 then
 	puts "Usage: sgx-catapult.rb <component_jid> <component_password> " +