Skip to content

Commit

Permalink
Disable log configuration via Gaffer for now and add FIXMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
f4lco committed Nov 6, 2020
1 parent f2c74ce commit ea09eae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import org.codehaus.groovy.control.CompilerConfiguration
*
* @author akhikhl
*/
// FIXME #162 recent logback versions do not include GafferConfigurator
// see also: remark in Runner.groovy, the only call site
@CompileStatic(TypeCheckingMode.SKIP)
class GafferConfiguratorEx extends GafferConfigurator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ final class Runner {
binding.logFileName = serverParams.logFileName
binding.logDir = serverParams.logDir
binding.grettyDebug = params.debug
new GafferConfiguratorEx(logCtx).run(binding, logbackConfigText)
// FIXME #162 logback has temporarily suspended GafferConfigurator.
// We do not know if and when it will come back, see news of 2019-10-11:
// http://logback.qos.ch/news.html
// new GafferConfiguratorEx(logCtx).run(binding, logbackConfigText)
}

private static Level stringToLoggingLevel(String str) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ class ServletContainerConfig {
def asm_version = project.ext.asmVersion
force "org.ow2.asm:asm:$asm_version"
force "org.ow2.asm:asm-commons:$asm_version"

// FIXME #162 make Tomcat and Jetty agree on a common version of logback again?
force 'ch.qos.logback:logback-classic:1.3.0-alpha5'
force 'org.slf4j:slf4j-api:2.0.0-alpha1'
}
},
servletApiVersion: { project -> project.ext.jetty11ServletApiVersion },
Expand Down

0 comments on commit ea09eae

Please sign in to comment.