Log capturing and processing method for micro-service development framework

A development framework and micro-service technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of inconvenient access and visualization of abnormal logs, laborious post-maintenance, and random printing of logs, etc., to improve the efficiency of development, operation and maintenance. , The effect of information regulation, saving development operation and maintenance time

Inactive Publication Date: 2019-07-02
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is easy for developers to manually add logs to ignore the content and print logs at will, and if visual display is required, the logs can only be seen through control

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log capturing and processing method for micro-service development framework
  • Log capturing and processing method for micro-service development framework
  • Log capturing and processing method for micro-service development framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The invention provides a log capturing and processing method of a microservice development framework, builds a backend service engineering project of the microservice development framework SpringBoot, creates a startup class,

[0029] Create log processing classes and aspect classes in the public package,

[0030] In the log processing class, the packet path analysis process, the operation log recording process, the call processing process, the exception recording process, the return value processing process, and the log recording and sending process are performed.

[0031] The aspect class scans and configures all packages in the public package through the point-cutting expression of the aspect, and calls the corresponding processing process in the processing class through the notification method according to the configuration to obtain and process the aspect log.

[0032] The present invention will be further described below in conjunction with the accompanying drawin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a log capturing and processing method for a micro-service development framework. The invention relates to the technical field of back-end application development. The method comprises steps of building a back-end service engineering project of a microservice development framework SpringBoot; creating boot classes, creating a log processing class and a section class in the public package, carrying out a packet path analysis process in the log processing class; performing an operation log recording process; carrying out a call processing procedure, performing an abnormalrecording process, a return value processing process and a log recording and sending process, performing scanning configuration on all packets in the public packet by the tangent point expression of the tangent plane by the tangent plane class, and calling the corresponding processing process in the processing class through a notification method according to the configuration to obtain and processthe tangent plane log.

Description

technical field [0001] The invention discloses a log capture and processing method of a microservice development framework, and relates to the technical field of back-end application development. Background technique [0002] With the development of Internet technology, microservices have become mainstream. Among them, SpringBoot is one of the best. The SpringBoot micro-service framework is lightweight, efficient, and scalable. It can quickly develop, build, and package applications, and the development is fast and convenient. Spring Boot manages Spring containers, third-party plug-ins and provides many default system-level services, which can be completed with only a small amount of configuration and code, saving a lot of time spent on environment configuration for project development. [0003] In the existing business development process, the processing of logs is generally added manually by developers. It is easy for developers to manually add logs to ignore the content...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/24H04L29/08G06F16/18
CPCH04L41/069H04L67/02
Inventor 张晓玉
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products