Browse Source

reduce log level

Henry Oswald 8 years ago
parent
commit
250f4a42f0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      services/clsi/app/coffee/DockerRunner.coffee

+ 2 - 1
services/clsi/app/coffee/DockerRunner.coffee

@@ -107,9 +107,10 @@ module.exports = DockerRunner =
 				if exitCode is 1 # exit status from chktex
 				if exitCode is 1 # exit status from chktex
 					err = DockerRunner.ERR_EXITED
 					err = DockerRunner.ERR_EXITED
 					err.code = exitCode
 					err.code = exitCode
-					logger.err err:err, exitCode:exitCode, options:options, "docker container has exited"
 					return callback(err)
 					return callback(err)
 				containerReturned = true
 				containerReturned = true
+				options.SecurityOpt = null #small log line
+				logger.log err:err, exitCode:exitCode, options:options, "docker container has exited"
 				callbackIfFinished()
 				callbackIfFinished()
 
 
 	_getContainerOptions: (command, image, volumes, timeout, environment) ->
 	_getContainerOptions: (command, image, volumes, timeout, environment) ->