Skip to content

Commit

Permalink
update java sender version and the name of log count getter
Browse files Browse the repository at this point in the history
  • Loading branch information
idohalevi committed Oct 13, 2019
1 parent 38df01c commit 86da148
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This appender uses [LogzioSender](https://github.com/logzio/logzio-java-sender)
| Parameter | Default | Explained |
| ------------------ | ------------------------------------ | ----- |
| **inMemoryQueueCapacityBytes** | *1024 * 1024 * 100* | The amount of memory(bytes) we are allowed to use for the memory queue. If the value is -1 the sender will not limit the queue size.|
| **inMemoryLogsCountLimit** | *-1* | Number of logs we are allowed to have in the queue before dropping logs. If the value is -1 the sender will not limit the number of logs allowed.|
| **inMemoryLogsCountCapacity** | *-1* | Number of logs we are allowed to have in the queue before dropping logs. If the value is -1 the sender will not limit the number of logs allowed.|
| **inMemoryQueue** | *false* | Set to true if the appender uses in memory queue. By default the appender uses disk queue|


Expand Down Expand Up @@ -142,6 +142,8 @@ Will send a log to Logz.io that looks like this:
```

### Release notes
- 1.0.22
- update logzio-sender version
- 1.0.21
- added in memory queue support
- 1.0.19:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</scm>

<properties>
<logzio-sender-version>1.0.18</logzio-sender-version>
<logzio-sender-version>1.1.1</logzio-sender-version>
</properties>

<build>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/io/logz/logback/LogzioLogbackAppender.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,15 @@ public void setInMemoryLogsCountCapacity(long inMemoryLogsCountCapacity) {
this.inMemoryLogsCountCapacity = inMemoryLogsCountCapacity;
}

@Deprecated
public long getInMemoryLogsCountLimit() {
return inMemoryLogsCountCapacity;
}

public long getInMemoryLogsCountCapacity() {
return inMemoryLogsCountCapacity;
}

public boolean isCompressRequests() { return compressRequests; }

public void setCompressRequests(boolean compressRequests) { this.compressRequests = compressRequests; }
Expand Down

0 comments on commit 86da148

Please sign in to comment.