Comments (3)
There is implemented new logback layout io.evitadb.server.log.AppLogJsonLayout
for JSON app log messages.
Example logging of app and access logs to K8S is as follows:
<configuration>
<appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender">
<target>System.err</target>
<filter class="io.evitadb.server.log.AccessLogFilter" />
<encoder>
<pattern>%msg%n</pattern>
</encoder>
</appender>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<target>System.out</target>
<filter class="io.evitadb.server.log.AppLogFilter" />
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="io.evitadb.server.log.AppLogJsonLayout"/>
</encoder>
</appender>
<!-- ... -->
</configuration>
Currently we don't need any backup logging files, because the STDOUT and STDERR will cover all of our log streams.
from evitadb.
Can we please alter the whitespace replacing logic to more optimal?!
from evitadb.
@novoj found method StringUitls#replaceEach
in Apache Commons which seems to do what we need and with some clever logic for when the replacement chars are larger that the replaced chars (which we need).
from evitadb.
Related Issues (20)
- Calculation of appropriate reference price HOT 3
- Provide health check for Docker image HOT 4
- Value XXX is not present in the sort index! While sortíng by exact codes
- Add support for comparing OffsetDateTime against DateTimeRange data type
- Memory leak during transaction handling
- Entity fetching optimization
- Catalog references still leak memory
- Issues applying partial rollback in atomic entity mutation
- Ensure the computation is killed quickly when timeout is exceeded HOT 1
- Transaction pipeline finishing with exception
- Histogram values are not monotonic in Inverted histogram
- Support for layering configuration
- Exception when querying non-existent entity by unique attribute HOT 1
- Avoid certificate generation when no TLS endpoint is configured
- Catalog data file gets broken after compaction
- Query targeting localized attribute returns no result
- Referenced entity bodies are not returned for hierarchically fetched parents
- Selecting facet combination from different groups enables hasSense for invalid facets
- Allow custom price for sale parameters for `multiplePricesForSaleAvailable` field in GQL HOT 1
- Filter references without referenced objects (optionally)
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 evitadb.