Commit db83a27d authored by Jure's avatar Jure

Merge branch 'log-format' into 'master'

feat: configure morgan log format

See merge request !46
parents 23f03584 dc7fb953
Pipeline #8204 passed with stages
in 2 minutes and 56 seconds
......@@ -10,7 +10,7 @@ module.exports = {
logger,
port: 3000,
uploads: 'uploads',
secret: 'helo',
morganLogFormat: 'combined',
},
'pubsweet-client': {
API_ENDPOINT: '/api',
......
......@@ -5,6 +5,8 @@ module.exports = {
baseUrl: deferConfig(
cfg => `http://localhost:${cfg['pubsweet-server'].port}`,
),
morganLogFormat:
':method :url :status :graphql[operation] :res[content-length] :response-time ms',
},
dbManager: {
username: 'admin',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment