Cantara / dropwizard-logging-logstash_archived

Integrate the Logstash JSON file appender with the Dropwizard logging framework
Apache License 2.0
0 stars 1 forks source link

Missing support for Dropwizard 1.02 #1

Open baardl opened 7 years ago

baardl commented 7 years ago
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project dropwizard-logging-logstash: Compilation failure: Compilation failure:
[ERROR] /home/baardl/sources/dropwizard-logging-logstash/src/main/java/no/cantara/dropwizard/logging/LogstashFileAppenderFactory.java:[43,9] cannot find symbol
[ERROR] symbol:   method addThresholdFilter(ch.qos.logback.core.FileAppender<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.classic.Level)
[ERROR] location: class no.cantara.dropwizard.logging.LogstashFileAppenderFactory
[ERROR] /home/baardl/sources/dropwizard-logging-logstash/src/main/java/no/cantara/dropwizard/logging/LogstashFileAppenderFactory.java:[47,16] no suitable method found for wrapAsync(ch.qos.logback.core.FileAppender<ch.qos.logback.classic.spi.ILoggingEvent>)
[ERROR] method io.dropwizard.logging.AbstractAppenderFactory.wrapAsync(ch.qos.logback.core.Appender,io.dropwizard.logging.async.AsyncAppenderFactory) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method io.dropwizard.logging.AbstractAppenderFactory.wrapAsync(ch.qos.logback.core.Appender,io.dropwizard.logging.async.AsyncAppenderFactory,ch.qos.logback.core.Context) is not applicable

Pom.xml

    <properties>
        <dropwizard.version>1.0.2</dropwizard.version>
        <validation-api.version>1.1.0.Final</validation-api.version>
        <jackson.version>2.8.3</jackson.version>
        <logstash-logback-encoder.version>4.7</logstash-logback-encoder.version>
        <logback.version>1.1.7</logback.version>
    </properties>
baardl commented 7 years ago

@kimcs Please verify and close.