Introduction to Golang Log Library
Preface
Why logs are needed
Debugging DevelopmentProgram Run LogUser Behavior Log
Different purposes determine the format and frequency of log output. As a developer, the goal of printing logs during debugging development is to output as much information as possible (such as context, variable values,...) to aid in development testing, so the ...
Posted on Tue, 09 Nov 2021 11:10:34 -0500 by ultraviolet_998
Summary of microservice performance optimization due to the sudden increase of recent business - 1. Improve the client load balancing algorithm
Recently, the business has grown rapidly, which is also a big challenge for our background. The performance bottleneck of the core business interface encountered this time is not caused by a single problem, but a combination of several problems: after we solve one, we launch it, and then we find another performance bottleneck. This is also my l ...
Posted on Mon, 01 Nov 2021 01:26:37 -0400 by IceDragon
Log4j Log Output Format
Log4j Log Output Format
For me to start working, the only purpose of the output log is to print debugging information for the code. When there are any problems or errors with the project running, you can quickly find the source of the problem by looking at the log (which is also the problem I encountered at the beginning of my company).
Sh ...
Posted on Sat, 04 Sep 2021 12:32:19 -0400 by littleelmo
How to convert Log4j to logback without Log4j
Custom Catalog title is written here
Fix the vulnerability, remove Log4j and introduce logback
1 background
2 difficulties
3 Introduction to components
3.1 code structure
3.2 description of key categories
3.2.1 ClassOfCallerConverter.java
3.2.2 MethodOfCallerConverter.java
3.2.3 LineOfCallerConver ...
Posted on Fri, 19 Jun 2020 04:32:09 -0400 by mhewall
Let people love and hate Lombok, in the end should not use
1 Introduction
Lombok, an island in Indonesia, is Longmu island. But in the world of Java, it is a convenient class library, which can provide a lot of convenience, so it is favored by many people. But there are many objections. Why is that?
I went to Longmu island to shoot the sunset.
2 convenience provided by Lombok
In general, when we use P ...
Posted on Tue, 16 Jun 2020 02:12:32 -0400 by ShugNorris
Spring boot core log
1. Log framework
Xiao Zhang; develop a large system;
1, System.out.println(""); print key data on the console; remove the "key data" button? Write in a file?
2. Framework to record some runtime information of the system; log framework; zhanglogging.jar ;
3. How many functions ar ...
Posted on Sun, 14 Jun 2020 00:41:48 -0400 by jobs
Arrangement of knowledge points of Mybatis
Mybatis
Environmental Science:
JDK 1.8
Mysql 5.7
Maven 3.6.1
IDEA
Document links:
https://mybatis.org/mybatis-3/zh/index.html
Article catalog
Mybatis
1. Introduction
1.1 what is MyBatis?
1.2 persistence
1.3 persistent layer
1.4 advantages
2. First Mybatis program
2.1 construction environment
2 ...
Posted on Thu, 04 Jun 2020 23:01:56 -0400 by Johan Beijar
Spring boot08: integrating Druid
Crazy God said that the spring boot series is easy to understand. Based on the version 2.2.5 of spring boot, you are welcome to forward and pay attention to learning.
WeChat official account: Bilibili, the first of the gods, Java
No reprint without authorization of the author
Integrated Druid
About Druid
A large part of Java progr ...
Posted on Tue, 26 May 2020 00:58:17 -0400 by davelr459
Using IDEA to submit MapReduce jobs to pseudo distributed Hadoop remotely
Environmental Science
VirtualBox 6.1
IntelliJ IDEA 2020.1.1
Ubuntu-18.04.4-live-server-amd64
jdk-8u251-linux-x64
hadoop-2.7.7
Install pseudo distributed Hadoop
Install pseudo distributed reference: Hadoop installation tutorial single machine / pseudo distributed configuration Hadoop 2.6.0 (2.7.1) / Ubuntu 14.04 (16.04)
Let's not go over it he ...
Posted on Thu, 14 May 2020 03:50:06 -0400 by Helios
Log Series 1 - Log Structure Framework
Catalog
1. Preface
2. Log Face
3. Log Library
4. Log adapter
5. Selection of Log Library
6.logback.xml configuration file
1. Preface
When it comes to logging tools, you must have heard these terms in your daily work or study: log4j, logback, jdk-logging, slf4j, commons-logging, etc. What is the relationship between them and what role do the ...
Posted on Tue, 12 May 2020 13:52:37 -0400 by ScOrPi