import * as path from "path" ; import http from "http" ; import Axios from "axios" ; import winston from "winston" ; import { runService } from "@fluidframework/server-services-shared" ; import { configureLogging , WinstonLumberjackEngine } from "@fluidframework/server-services-utils" ; import { Lumberjack } from "@fluidframework/server-services-telemetry" ; import { TinyliciousResourcesFactory } from "./resourcesFactory" ; import { TinyliciousRunnerFactory } from "./runnerFactory" ; Axios . defaults . httpAgent = new http . Agent ( { keepAlive : true } ) ; const configPath = path . join ( __dirname , "../config.json" ) ; configureLogging ( configPath ) ; const lumberjackEngine = new WinstonLumberjackEngine ( ) ; Lumberjack . setup ( [ lumberjackEngine ] ) ; runService ( new TinyliciousResourcesFactory ( ) , new TinyliciousRunnerFactory ( ) , winston , "tinylicious" , configPath ) ;