Updated twisted app to accept useraleVersion field
diff --git a/demo/dashboard/files/twisted_app.py b/demo/dashboard/files/twisted_app.py
old mode 100644
new mode 100755
index 4389dac..fd64e5c
--- a/demo/dashboard/files/twisted_app.py
+++ b/demo/dashboard/files/twisted_app.py
@@ -77,6 +77,7 @@
             'maxBytes': 100e6,
             'backupCount': 10,
         },
+        # Deprecated
         'xdata-v2': {
             'class': 'logging.handlers.RotatingFileHandler',
             'level': 'INFO',
@@ -165,7 +166,7 @@
         return settings['allow_origin']
 
 def log_json(data):
-    if ('toolVersion' in data):
+    if ('useraleVersion' in data) and (data ['useraleVersion'].split('.')[0] == '4'):
         logger_js.info(simplejson.dumps(data))
     elif ('useraleVersion' in data) and (data['useraleVersion'].split('.')[0] == '3'):
         loggerv3.info(simplejson.dumps(data))