Commit df9a9771 authored by Tamlyn Rhodes's avatar Tamlyn Rhodes

feat: configure morgan log format

parent 2f3626f0
Pipeline #7924 passed with stages
in 7 minutes and 6 seconds
......@@ -8,6 +8,7 @@ module.exports = {
logger,
port: 3000,
uploads: 'uploads',
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