text: #!/usr/bin/env node
  "use strict";
  const logger = require('./app/utils/logger.js');
  const xxx = require('./app/xxx.js');
  
  logger.create('./config/log4js.json', function(e, r){
    if (e){
      console.error("Logger error, could not start server: " + 
                    e + ( r ? ","+r : ""));
    }
    else{
      let x = new xxx('./config/bind.js');
      x.start();
    }
  });
  
  process.on('uncaughtException', function (error) {
    logger.error(' Caught exception: ' + error + ',' + error.stack);
  });
  
  