Comments (3)
thanks for your email - JIRA raised - https://higherfrequencytrading.atlassian.net/browse/CLOG-32 https://higherfrequencytrading.atlassian.net/browse/CLOG-32
On 25 Feb 2015, at 10:21, Mark-Yin [email protected] wrote:
Hello
When I use logback.xml to configure the appender settings of class "net.openhft.chronicle.logger.logback.BinaryVanillaChronicleAppender", there is an issue that property dataBlockSize can not be recognized by logback while indexBlockSize works. I tracked down the source code and found out that when logback is building Bean information from "Introspector.getBeanInfo(obj.getClass())", only the readMethod of dataBlockSize exists and the writeMethod can not be found. By this, an error message will be thrown out:ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:19 - no applicable action for [dataBlockSize], current ElementPath is [[configuration][appender][chronicleConfig][dataBlockSize]]
I think the root cause is the type error of dataBlockSize in the class VanillaLogAppenderConfigpublic long getDataBlockSize() {
return this.builder.dataBlockSize();
}//TODO: long vs int
public void setDataBlockSize(int dataBlockSize) {
this.builder.dataBlockSize(dataBlockSize);
}The getter and setter should have the same type of variable in order to make Bean construction method work correctly.
Regards,
Mark—
Reply to this email directly or view it on GitHub #24.
from chronicle-logger.
The fix has been implemented in the latest 1.1.0-SNAPSHOT.
Thank you for spotting this.
from chronicle-logger.
The setting of dataBlockSize in BinaryVanillaAppender works again. Thanks for solving the issue so quickly.
from chronicle-logger.
Related Issues (20)
- OWASP giving security error on Chronicle-Logger HOT 6
- Unable to upgrade to slf4j 2.x HOT 4
- Is Chronicle Logger compatible with Chronicle Queue v4? HOT 1
- Using Logstash with Chronicles-Logger (Logback) HOT 4
- move the branches HOT 1
- Log4j2 and invalid attributes HOT 1
- Compression HOT 5
- logging an arbitrary object using Chronicle logger throws IllegalStateException HOT 3
- Compiled Jar HOT 1
- Bump log4j2 version HOT 3
- Chronicle-Logger rollover to compressed file(gzip) HOT 4
- Chronicle-Logger time-based rolling and compression HOT 4
- chronicle-logger 4.17.2 pom.xml is referencing non-existing version of chronicle-bom HOT 4
- ChronicleLogReader fails while running processLog() HOT 2
- chronicle-logger-slf4j has dependency on slf4j-simple
- Infinite loop when mysql-connector-java or netty is on the classpath HOT 3
- How to append extended information to logger HOT 3
- TeamCity build is broken
- ChronicleLogManager is not thread-safe HOT 1
- fixed test net.openhft.chronicle.logger.jul.JulLoggerChronicleTest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chronicle-logger.