message: no log directory is needed for api
diff: // @flow
  const winston = require('winston');
  -const path = require('path');
  -const fs = require('fs');
  -
  -// Create the logs directory if it doesn't exist yet.
  -const directory = path.join('.', 'logs');
  -if (!fs.existsSync(directory)) {
  - fs.mkdirSync(directory);
  -}
  const logger = new winston.Logger({
  exitOnError: false,
  