{ url_for('static',filename='js/socket.io.min.js') }}"></script>

  <script type="text/javascript" charset="utf-8">
      var socket;
      $(document).ready(function(){
          socket = io.connect('http://' + document.domain + ':' + location.port + '/logs');
          socket.on('connect', function() {
              socket.emit('joined', {});
          });
          socket.on('message', function(data) {
              $("#display_log").html("<pre>"+data.msg+"</pre>");
          });
          socket.emit('l