Skip to content
Snippets Groups Projects
Commit d143f954 authored by Markus Grigull's avatar Markus Grigull
Browse files

Remove git logging due to container incompatibility

parent b32ddf39
No related branches found
No related tags found
1 merge request!10Resolve "Add dynamic configuration files"
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
......@@ -11,7 +11,6 @@
"express": "^4.14.0",
"express-winston": "^2.4.0",
"formidable": "^1.0.17",
"git-rev-sync": "^1.9.1",
"image-size": "^0.6.1",
"jsonwebtoken": "^7.0.1",
"lodash": "^4.17.10",
......
......@@ -26,7 +26,6 @@ var bodyParser = require('body-parser');
var cors = require('cors');
var winston = require('winston');
var expressWinston = require('express-winston');
var git = require('git-rev-sync');
// local include
const config = require('./config/index');
......@@ -68,7 +67,6 @@ if (config.logFile) {
logger.info('--- Started VILLASweb backend ---');
logger.info('Environment: ' + config.environment);
logger.info('Build: ' + git.branch() + ' ' + git.tag() + ' from ' + git.date());
// configure app
app.use(expressWinston.logger({ winstonInstance: logger, meta: false, colorize: true, msg: "HTTP {{req.method}} {{res.statusCode}} {{req.url}} {{res.responseTime}}ms" }));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment