当前位置:网站首页>Tlog helps Pangu framework realize microservice link log tracking
Tlog helps Pangu framework realize microservice link log tracking
2022-06-25 22:20:00 【InfoQ】
TLog What is it? ?
Integrate TLog
pangu-spring-boot-starterHow to use
First step : Rely on Pangu basic module
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-spring-boot-starter</artifactId>
</dependency>
The second step : The startup class invokes the log enhancement method
static {
AspectLogEnhance.enhance();
}
The third step : Construct Pangu consumer micro service and producer micro service respectively
- pangu-examples-dubbo-service Service producer
- pangu-examples-webapi-dubbo-service-based Serving consumers
View the log output effect
10812814178142336 The consumer end :
2022-06-23 14:40:50 INFO 47050 - [nio-8080-exec-1] c.x.DemoController : < 0 >< 10812814178142336 > call case1...
Production end :
2022-06-23 14:40:50 INFO 46395 - [:20881-thread-4] c.x.UserServiceImpl : < 0.1 >< 10812814178142336 > Parameters userIn:UserInDto(name=null, userType=1)
边栏推荐
- GridView component of swiftui 4 new features (tutorial includes source code)
- Practice of product library platform nexus of Devops
- Simple record of fire & spell effects
- Pycharm 2022.1 EAP 2 release
- Zero Trust: break the passive development mode of "attack and defense" and build a "moat" for enterprise safety
- MySQL modifies multiple tables and adds multiple fields through SQL
- 24 张图一次性说清楚 TCP
- 圖解棧幀運行過程
- be careful! This written examination method is gradually being replaced
- Mastering quantization technology is the key to video compression
猜你喜欢

Huasheng lithium battery IPO meeting: 9-month revenue of 690million; shenjinliang's family relationship is complex

Diagram of stack frame running process

Processing of limit operator in Presto

How to use Matplotlib library to realize enlarged display of graphic local data

Yyds dry goods inventory CEPH installation visual dashboard

实验三的各种特效案例

熊市指南|一些本质的教训与具体的生存法则
Data annotation in the second half: growth flywheel under PLG mode Manfu Technology

JS disable the browser PDF printing and downloading functions (pdf.js disable the printing and downloading functions)

【hnu暑学期】数据库系统设计 准备阶段
随机推荐
HLS. JS: past, present and future
Open source optimized VVC encoder in general scenarios
ASC - DAY2
Pycharm 2022.1 EAP 2 release
【WPF】CAD工程图纸转WPF可直接使用的xaml代码技巧
Pat 1073 scientific notation (20 points) (18 points not finished)
Did you really learn the right game modeling with 3DMAX?
ITU AI and multimedia Seminar: exploring new areas and cross SDO synergy
Simple record of fire & spell effects
What is a code baseline?
Factorymethod factory method
AbstractFactory Abstract Factory
Report on development status and prospects of global and Chinese coating industry strategic planning proposal 2022-2028
数学分析_笔记_第4章:连续函数类和其他函数类
Presto中Limit算子的处理过程
Research and Analysis on the current situation of China's magnetic detector Market and forecast report on its development prospect (2022)
HNU network counting experiment: experiment I application protocol and packet analysis experiment (using Wireshark)
Research and Analysis on the status quo of China's Cross lamp market and forecast report on its development prospect (2022)
What if win11 cannot delete the folder? Win11 cannot delete folder
When we talk about the metauniverse, what are we talking about?