Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Log generation method and device and readable storage medium

A technology for generating devices and logs, applied in file/folder operations, file system types, instruments, etc., can solve the problems of inconsistent log file formats and high labor costs for log files, achieve simple maintenance, eliminate labor costs, and reduce reading cost effect

Pending Publication Date: 2021-01-29
云账户技术(天津)有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a log generating method, device and readable storage medium, which are used to solve the problems of high labor cost for updating log files and non-uniform format of log files

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 generation method and device and readable storage medium
  • Log generation method and device and readable storage medium
  • Log generation method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0021] Such as figure 1 As shown, the embodiment of the present invention provides a method for generating a log, and the method includes step S11 to step S13.

[0022] Two commands "update" and "changelog" are preset:

[0023] 1. "update": "yarn changelog && git add CHANGELOG_AUTO.md".

[0024] 2. "changelog": "auto-changelog-p".

[0025] In step S11, a version change action is detected, and a log update command of the log file is automatically invoked.

[0026] In...

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 provides a log generation method and device and a readable storage medium, and the log generation method comprises the steps: automatically calling a log updating command of a log file when a version changing action is detected; in response to the log updating command, updating the content of the log file according to a preset specification; and changing the updated log file from a first state to a second state to wait for submission. By automatically generating the log file, the labor cost for maintaining the log file is eliminated, and the format of the log file is unified andstandardized, so that the reading cost is reduced, and the maintenance is simple.

Description

technical field [0001] The present invention relates to the field of terminals, in particular to a log generation method, device and readable storage medium. Background technique [0002] Log files are one of the important data in system operation and maintenance. The log file of each project records the version iteration information and function update information of the project, so the log file plays a very important role in each project. [0003] However, log files are generally maintained manually, and the developer manually writes information such as function changes, code change links, and modifiers into the log files, which is time-consuming; or the log files are automatically generated after manually executing commands, and each version is updated. All need to manually execute the command once, which is cumbersome. Contents of the invention [0004] The present invention provides a log generating method, device and readable storage medium, which are used to solve...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/18G06F16/16G06F16/172
CPCG06F16/1815G06F16/1873G06F16/16G06F16/172
Inventor 苏晓李钿魏增艺邹永强杨晖
Owner 云账户技术(天津)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products