logzio / logzio-logback-appender

Logback Appender that ships logs using HTTPs bulk
Apache License 2.0
25 stars 19 forks source link

Library not send logs from logback to logz #81

Closed wagnerww closed 1 year ago

wagnerww commented 2 years ago

Hi, I'm not able to send my logs to logz. I've already looked in the documentation and apparently everything is ok. My application is in spring boot, version 2.2.8.RELEASE. O token esta correto, e a região é us-east-1.

what could be wrong? I don't know what else to do to integrate, the logs just don't come to logz.io

My pom.xml in the logs settings:

 <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>log4j-over-slf4j</artifactId>
     <version>1.7.13</version>
</dependency>
<dependency>
        <groupId>io.logz.logback</groupId>
       <artifactId>logzio-logback-appender</artifactId>
       <version>1.0.24</version>
</dependency>
<dependency>
   <groupId>ch.qos.logback</groupId>
   <artifactId>logback-classic</artifactId>
   <version>1.2.3</version>
</dependency>
<dependency>
    <groupId>ch.qos.logback</groupId>
     <artifactId>logback-core</artifactId>
     <version>1.2.0</version>
 </dependency>

My logback.xml, I also tested using the logback-spring.xml:

${CONSOLE_LOG_PATTERN} UTF-8 ${mytoken} https://listener.logz.io:8071 apptest
caodangtinh commented 1 year ago

Can you try to add below configuration attribute to logback-spring.xml file? <configuration debug="true">

Then you will see debug log and what happen behind the scene.