Merge pull request #192 from eed3si9n/wip/bump

log4j 2.11.2
This commit is contained in:
eugene yokota 2019-02-23 14:36:46 -05:00 committed by GitHub
commit 15ea0109b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -34,7 +34,7 @@ object BufferedAppender {
* the level at the time 'play' is called.
*/
class BufferedAppender private[BufferedAppender] (name: String, delegate: Appender)
extends AbstractAppender(name, null, PatternLayout.createDefaultLayout(), true) {
extends AbstractAppender(name, null, PatternLayout.createDefaultLayout(), true, Array.empty) {
private[this] val buffer = new ListBuffer[XLogEvent]
private[this] var recording = false

View File

@ -333,7 +333,7 @@ class ConsoleAppender private[ConsoleAppender] (
ansiCodesSupported: Boolean,
useFormat: Boolean,
suppressedMessage: SuppressedTraceContext => Option[String]
) extends AbstractAppender(name, null, LogExchange.dummyLayout, true) {
) extends AbstractAppender(name, null, LogExchange.dummyLayout, true, Array.empty) {
import scala.Console.{ BLUE, GREEN, RED, YELLOW }
private val reset: String = {

View File

@ -124,7 +124,8 @@ sealed abstract class LogExchange {
// CustomConsoleAppenderImpl.createAppender("Stdout", layout, null, null)
appender.start
config.addAppender(appender)
val asyncAppender: AsyncAppender = (AsyncAppender.newBuilder(): AsyncAppender.Builder)
val asyncAppender: AsyncAppender = AsyncAppender
.newBuilder()
.setName("AsyncStdout")
.setAppenderRefs(Array(AppenderRef.createAppenderRef("Stdout", XLevel.DEBUG, null)))
.setBlocking(false)

View File

@ -5,7 +5,7 @@ import sbt.contraband.ContrabandPlugin.autoImport._
object Dependencies {
val scala210 = "2.10.7"
val scala211 = "2.11.12"
val scala212 = "2.12.7"
val scala212 = "2.12.8"
private val ioVersion = "1.2.1"
@ -54,7 +54,7 @@ object Dependencies {
"com.eed3si9n" %% "sjson-new-murmurhash" % contrabandSjsonNewVersion.value
}
def log4jVersion = "2.11.1"
def log4jVersion = "2.11.2"
val log4jApi = "org.apache.logging.log4j" % "log4j-api" % log4jVersion
val log4jCore = "org.apache.logging.log4j" % "log4j-core" % log4jVersion
val disruptor = "com.lmax" % "disruptor" % "3.4.2"