diff --git a/README.md b/README.md
index a719652..d69b550 100644
--- a/README.md
+++ b/README.md
@@ -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|
@@ -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:
diff --git a/pom.xml b/pom.xml
index 1f61d38..48368ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,7 @@
- 1.0.18
+ 1.1.1
diff --git a/src/main/java/io/logz/logback/LogzioLogbackAppender.java b/src/main/java/io/logz/logback/LogzioLogbackAppender.java
index 150c3ec..737fbb8 100644
--- a/src/main/java/io/logz/logback/LogzioLogbackAppender.java
+++ b/src/main/java/io/logz/logback/LogzioLogbackAppender.java
@@ -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; }