diff --git a/services/chat/app/js/server.js b/services/chat/app/js/server.js index cb725f2590..0cce15a098 100644 --- a/services/chat/app/js/server.js +++ b/services/chat/app/js/server.js @@ -16,7 +16,6 @@ const Path = require('path') const express = require('express') const bodyParser = require('body-parser') const errorHandler = require('errorhandler') -const morganLogger = require('morgan') const app = express() const server = require('http').createServer(app) const Router = require('./router') @@ -31,7 +30,6 @@ if (app.get('env') === 'development') { } if (app.get('env') === 'production') { - app.use(morganLogger('tiny')) app.use(errorHandler()) } diff --git a/services/chat/package-lock.json b/services/chat/package-lock.json index b4629bdb5a..5f29a5ff6c 100644 --- a/services/chat/package-lock.json +++ b/services/chat/package-lock.json @@ -1335,14 +1335,6 @@ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" }, - "basic-auth": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", - "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", - "requires": { - "safe-buffer": "5.1.2" - } - }, "bcrypt-pbkdf": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", @@ -4568,28 +4560,6 @@ } } }, - "morgan": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.1.tgz", - "integrity": "sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==", - "requires": { - "basic-auth": "~2.0.0", - "debug": "2.6.9", - "depd": "~1.1.2", - "on-finished": "~2.3.0", - "on-headers": "~1.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -4937,11 +4907,6 @@ "ee-first": "1.1.1" } }, - "on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==" - }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", diff --git a/services/chat/package.json b/services/chat/package.json index 232ce755f0..70210a3d5d 100644 --- a/services/chat/package.json +++ b/services/chat/package.json @@ -25,7 +25,6 @@ "logger-sharelatex": "^1.9.0", "metrics-sharelatex": "^2.5.0", "mongojs": "3.1.0", - "morgan": "^1.9.1", "request": "^2.88.2", "settings-sharelatex": "^1.1.0" },