[logback-user] Maven Repository cannot resolve logback extensions

Fritz, Jonathan jofritz at ea.com
Tue Feb 25 23:36:11 CET 2014


I found configuration options for batch mode in the Javadoc of the pull request and added the documentation to the appropriate wiki page. Everything worked as expected, but I've encountered a problem with the way that Loggly interprets the batch data. It appears to treat all log events sent in a batch request as a single event. I've created a bug for this on the github page: https://github.com/qos-ch/logback-extensions/issues/17

From: <Fritz>, Jonathan Fritz <jofritz at ea.com<mailto:jofritz at ea.com>>
Reply-To: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Date: Tuesday, February 25, 2014 at 3:27 PM
To: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions

While I'm bothering everybody, there was a pull request merged into the library about a year ago<https://github.com/qos-ch/logback-extensions/pull/5> that was supposed to have added burst mode support, but I can't find any docs on how to enable batch mode. When I run the library as configured in the existing docs, I see what appear to be individual requests sent to Loggly for each log message.

On a related note, is there any way to toggle SSL for debugging purposes?

From: <Fritz>, Jonathan Fritz <jofritz at ea.com<mailto:jofritz at ea.com>>
Reply-To: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Date: Tuesday, February 25, 2014 at 3:07 PM
To: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions

Oh man, talk about selective illiteracy. That worked perfectly, thanks.

May I suggest a clarification to the docs page that lists the current stable version so dumb people like me don't blindly copy and paste in the future?

From: Chris Pratt <thechrispratt at gmail.com<mailto:thechrispratt at gmail.com>>
Reply-To: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Date: Tuesday, February 25, 2014 at 2:53 PM
To: logback users list <logback-user at qos.ch<mailto:logback-user at qos.ch>>
Subject: Re: [logback-user] Maven Repository cannot resolve logback extensions

I'm no maven expert, but it looks like your version definitions are incorrect, I think you want something more like:
  (*Chris*)


<dependency>
  <groupId>org.logback-extensions</groupId>
  <artifactId>logback-ext-loggly</artifactId>
  <version>0.1.1</version>
  <scope>runtime</scope>
</dependency>
<dependency>
  <groupId>ch.qos.logback.contrib</groupId>
  <artifactId>logback-json-classic</artifactId>
  <version>0.1.2</version>
  <scope>runtime</scope>
</dependency>
<dependency>
  <groupId>ch.qos.logback.contrib</groupId>
  <artifactId>logback-jackson</artifactId>
  <version>0.1.2</version>
  <scope>runtime</scope>
</dependency>


On Tue, Feb 25, 2014 at 11:47 AM, Fritz, Jonathan <jofritz at ea.com<mailto:jofritz at ea.com>> wrote:

Upon adding the following to my pom.xml:

<dependency>
            <groupId>org.logback-extensions</groupId>
            <artifactId>logback-ext-loggly</artifactId>
            <version>version</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback.contrib</groupId>
            <artifactId>logback-json-classic</artifactId>
            <version>version</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback.contrib</groupId>
            <artifactId>logback-jackson</artifactId>
            <version>version</version>
            <scope>runtime</scope>
        </dependency>


I got this error while running mvn clean install:

Failed to execute goal on project webapp: Could not resolve dependencies for project webapp:webapp:war:0.1-SNAPSHOT: The following artifacts could not be resolved: org.logback-extensions:logback-ext-loggly:jar:version, ch.qos.logback.contrib:logback-json-classic:jar:version, ch.qos.logback.contrib:logback-jackson:jar:version: Could not find artifact org.logback-extensions:logback-ext-loggly:jar:version in labs-consol-release (http://labs.consol.de/maven/repository) -> [Help 1]


Seems like there might be a problem with the maven repository.

Has anybody seen similar issues?


_______________________________________________
Logback-user mailing list
Logback-user at qos.ch<mailto:Logback-user at qos.ch>
http://mailman.qos.ch/mailman/listinfo/logback-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20140225/98069ae5/attachment-0001.html>


More information about the Logback-user mailing list