mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Initialise metrics before logger
This commit is contained in:
parent
89fc640ec4
commit
cb86ee8c10
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
const logger = require('logger-sharelatex')
|
|
||||||
logger.initialize(process.env.METRICS_APP_NAME || 'filestore')
|
|
||||||
|
|
||||||
const Metrics = require('metrics-sharelatex')
|
const Metrics = require('metrics-sharelatex')
|
||||||
Metrics.initialize(process.env.METRICS_APP_NAME || 'filestore')
|
Metrics.initialize(process.env.METRICS_APP_NAME || 'filestore')
|
||||||
|
|
||||||
|
const logger = require('logger-sharelatex')
|
||||||
|
logger.initialize(process.env.METRICS_APP_NAME || 'filestore')
|
||||||
|
|
||||||
const settings = require('settings-sharelatex')
|
const settings = require('settings-sharelatex')
|
||||||
const express = require('express')
|
const express = require('express')
|
||||||
const bodyParser = require('body-parser')
|
const bodyParser = require('body-parser')
|
||||||
|
|
Loading…
Reference in a new issue