message: fixed logger type error
diff: @@ -2,17 +2,15 @@ import * as socketio from 'socket.io';
  import { engineLogger } from '../../common/logging';
  import EventEmitter = NodeJS.EventEmitter;
  -export class EngineLogStreamer {
  - private cleanup: Function;
  - private readonly firstConnectionQuery = {
  +const CONNECTION_QUERY_PARAMS = {
  start: 0,
  limit: 10,
  - from: 'now',
  - until: '-24hr',
  + until: null,
  order: 'desc' as 'desc',
  fields: ['level', 'timestamp', 'message'],
  };
  -
  +export class EngineLogStreamer {
  + private cleanup: Function;
  constructor(private channel: EventEmitter) {}
  init() {
  @@ -32,13 +30,16 @@ export class EngineLogStreamer {
  }
  onNewConnection(client: socketio.Socket) {
  - engineLogger.query(this.firstConnectionQuery, (err, results) => {
  + engineLogger.query(
  + { ...CONNECTION_QUERY_PARAMS, until: new Date() },
  + (err, results) => {
  if (err) {
  console.log(err);
  }
  const docs = results['file'] || [];
  client.emit('on-connecting', JSON.stringify(docs.reverse()));
  - });
  + }
  + );
  }
  destroy() {
  