message: move logging from the console to a file to simplify trouble-shooting test failures
diff: @@ -7,6 +7,8 @@ import * as _ from 'lodash';
  import { TapReporter } from 'jasmine-reporters';
  import * as ConsoleReporter from 'jasmine-console-reporter';
  import * as failFast from 'protractor-fail-fast';
  +import { createWriteStream} from 'fs';
  +import { format } from 'util';
  const tap = !!process.env.TAP;
  @@ -56,23 +58,15 @@ export const config: Config = {
  }
  },
  onComplete: async() => {
  - console.log('BEGIN BROWSER LOGS');
  + const consoleLogStream = createWriteStream('gui_test_screenshots/browser.log', { flags: 'a' });
  + this.logToFile = function() {
  + consoleLogStream.write(`${format.apply(null, arguments)}\n`);
  + };
  browserLogs.forEach(log => {
  const {level, message} = log;
  const messageStr = _.isArray(message) ? message.join(' ') : message;
  - switch (level.name) {
  - case 'DEBUG':
  - console.log(level, messageStr);
  - break;
  - case 'SEVERE':
  - console.warn(level, messageStr);
  - break;
  - case 'INFO':
  - default:
  - console.info(level, messageStr);
  - }
  + this.logToFile(`[${level.name}]`, messageStr);
  });
  - console.log('END BROWSER LOGS');
  // Use projects if OpenShift so non-admin users can run tests. We need the fully-qualified name
  // since we're using kubectl instead of oc.
  