Skip to content

Commit 9333c26

Browse files
author
James Cori
committed
Shutting Off Verbose Logging of Everything
1 parent 0edac74 commit 9333c26

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/common/logger.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ logger.decorateWithLogging = (service) => {
9090
_.each(service, (method, name) => {
9191
const params = method.params || getParams(method)
9292
service[name] = async function () {
93-
logger.debug(`ENTER ${name}`)
94-
logger.debug('input arguments')
93+
// logger.debug(`ENTER ${name}`)
94+
// logger.debug('input arguments')
9595
const args = Array.prototype.slice.call(arguments)
9696
logger.debug(util.inspect(_sanitizeObject(_combineObject(params, args))))
9797
try {
9898
const result = await method.apply(this, arguments)
99-
logger.debug(`EXIT ${name}`)
100-
logger.debug('output arguments')
99+
// logger.debug(`EXIT ${name}`)
100+
// logger.debug('output arguments')
101101
if (result !== null && result !== undefined) {
102102
logger.debug(util.inspect(_sanitizeObject(result)))
103103
}
@@ -146,7 +146,7 @@ logger.decorateWithValidators = function (service) {
146146
*/
147147
logger.buildService = (service) => {
148148
logger.decorateWithValidators(service)
149-
logger.decorateWithLogging(service)
149+
// logger.decorateWithLogging(service)
150150
}
151151

152152
module.exports = logger

src/scripts/seed/TimelineTemplate.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@
4848
{
4949
"phaseId": "aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b",
5050
"predecessor": "6950164f-3c5e-4bdc-abc8-22aaf5a1bd49",
51-
"defaultDuration": 259200
51+
"defaultDuration": 172800
5252
}
5353
]
5454
},
55-
5655
{
5756
"id": "6969125a-a12f-4b89-8de6-e66b0056f36b",
5857
"name": "Marathon Match",

0 commit comments

Comments
 (0)