Author name: Manuel Bogner

Lombok and log4shell

Project lombok has become a defacto standard in close to every Java project I see. Because of this I want to also write about the ongoing log4j problems as described under https://blog.coffeebeans.at/archives/1709. The annotation @Log4j allows to create a log4j logger field in the annotated class. This of course implicates that your project is using […]

Lombok and log4shell Read More »

gradle status plugin

I’ve started to write a simple plugin to analyse gradle projects and send dependency information to a central server. This way I want to get insight into all projects in the company and check if there is some log4j2 dependency below 2.16.0. You can find the code under https://github.com/mbogner/gradle-status-plugin. The plugin was accepted and is

gradle status plugin Read More »

log4shell – Log4j2 has major security problem (CVE-2021-44228, CVE-2021-45105, CVE-2021-44832)

log4j-core until version 2.15.0 has a major security leak that can be exploited by sending prepared strings that are logged with log4j. Potential candidates would be headers or often also simple form fields that are sent to java backends. The CVE can be found here. With a score of 10/10 this should be addressed as

log4shell – Log4j2 has major security problem (CVE-2021-44228, CVE-2021-45105, CVE-2021-44832) Read More »

MongoDB sharded cluster

MongoDB supports horizontal scaling by the use of sharding. A sharded cluster consists of 3 parts: Configuration replica set to store metadata Shard replica set(s) Mongos server as a query router that uses metadata from config replica set to query data from the shard(s) Every replica set can consist of primary and secondary instances. Single

MongoDB sharded cluster Read More »

Angular i18n

Angular has support for internationalisation with the @ngx-translate/core module. This and a needed loader can be installed via With this done you need to create a folder src/assets/i18n and place your language json file like en.json in it. Now the translation module and service needs to be configured. Open your app.module.ts file and add the

Angular i18n Read More »