Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
LOG PRINTING METHOD AND SYSTEM, SERVER
Document Type and Number:
WIPO Patent Application WO/2020/037753
Kind Code:
A1
Abstract:
A log printing method, comprising the following steps: configuring a log sampling ratio and a log level for an application (S201); after the application receives a service request, determining whether to print all logs and cache a sampling flag according to the log sampling ratio (S202); reading the sampling flag and the log level during the processing of the application to the service request (S203); when the read sampling flag is "not sample", the application processing the service request and printing logs with a log level equal to and higher than the configured log level and corresponding to the service request (S204); and when the read print flag is "sample", the application processing the service request and printing all logs corresponding to the service request (S205). A log printing system and a server are further provided. The log print volume can be reduced without affecting the location to the cause of the exception.

Inventors:
CHEN QINGLONG (CN)
Application Number:
PCT/CN2018/106641
Publication Date:
February 27, 2020
Filing Date:
September 20, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
WANGSU SCIENCE & TECH CO LTD (CN)
International Classes:
G06F3/12
Foreign References:
CN104461844A2015-03-25
CN103268277A2013-08-28
CN104007942A2014-08-27
CN106909325A2017-06-30
Other References:
See also references of EP 3832452A4
Attorney, Agent or Firm:
BEIJING HUA-WISDOM INTELLECTUAL PROPERTY INC. (CN)
Download PDF: