Log output frequency reduction method and device, equipment and storage medium

By using two-dimensional character arrays and timers to control log output in embedded systems, interrupts and buffer overload problems caused by frequent log printing are solved, and log content retention and system performance are improved.

CN120448167APending Publication Date: 2025-08-08ECARX (HUBEI) TECHCO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510515777.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In embedded real-time development systems, frequent log printing operations lead to frequent interruptions or overload of ring buffers, resulting in log loss and system performance degradation. Existing solutions such as canceling high-frequency log printing or increasing hardware costs are all defective.

Method used

The log information to be output is cached using a two-dimensional character array and the timer is used to record the number of times the log information changes. The log output frequency is controlled by periodic traversal and setting time thresholds to realize batch printing.

Benefits of technology

Without losing log content, the log output frequency is significantly reduced, system performance is improved, and hardware costs are reduced, and log loss and system load is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120448167A_ABST
    Figure CN120448167A_ABST
Patent Text Reader

Abstract

The invention discloses a log output frequency reduction method and device, equipment and a storage medium, and relates to the technical field of log printing, and the method comprises the steps: creating a two-dimensional character array for caching to-be-output log information of a signal, and a timer for timing a log output interval of the signal; recording the number of changes of the log information of the signal according to whether there is a difference between two adjacent times of log information needing to be output; and periodically traversing all the signals, and printing and outputting the to-be-output log information of the current signal cached in the two-dimensional character array based on the log information change times or log output interval duration of the current signal. According to the method, the log content is not lost while the log output frequency is greatly reduced, and the load occupied by log output is remarkably reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of log printing technology, and in particular to a method, apparatus, device, and storage medium for reducing the frequency of log output. Background Art

[0002] In embedded real-time development systems, log output is a common and indispensable functional component. However, for most embedded real-time operating systems, due to chip performance, storage space limitations and real-time requirements, log printing operations are usually directly output using interrupts or periodically processed by designing a ring buffer. Once the log printing operation is frequently triggered in a short period of time, it will cause frequent interrupts or ring buffer overload, resulting in log loss, system performance degradation and other adverse consequences.

[0003] Common solutions to this problem include: eliminating high-frequency log printing; and using higher-performance hardware with larger memory to meet high-load log printing requirements. However, both solutions have significant drawbacks. While the first solution can eliminate high-frequency log printing, thereby reducing the overall log output frequency, it comes at the cost of log loss, which is extremely detrimental to program testing, diagnosis, and maintenance. While the second solution retains all necessary log content, it incurs higher hardware costs, making it unsuitable for deployment on lower-performance hardware platforms. Summary of the Invention

[0004] The present application provides a method, apparatus, device and storage medium for reducing the frequency of log output, which greatly reduces the frequency of log output without losing log content and significantly reduces the load occupied by log output.

[0005] In a first aspect, an embodiment of the present application provides a method for reducing the frequency of log output, the method comprising:

[0006] Create a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval;

[0007] According to whether there is a difference between two adjacent log information outputs, the number of times the signal log information changes is recorded;

[0008] Periodically traverse all signals and print out the log information to be output of the current signal cached in the two-dimensional character array based on the number of log information changes of the current signal or the duration of the log output interval.

[0009] In combination with the first aspect, in one embodiment, the two-dimensional character array is further used to store the sequence number of the signal and the number of times the log information is changed, and each signal corresponds to a sequence number, and each signal corresponds to a timer.

[0010] In conjunction with the first aspect, in one embodiment, recording the number of changes in the signal's log information based on whether there is a difference between two adjacent log information outputs specifically includes:

[0011] Detects in real time whether a signal needs to be logged. If a signal needs to be logged, determines whether there is a difference between the current signal's log information and the last time the signal needed to be logged:

[0012] If so, the current log information to be output of the current signal is cached into a two-dimensional character array, and the number of log information changes of the current signal is accumulated;

[0013] If not, the current log information to be output for the current signal is discarded.

[0014] In combination with the first aspect, in one embodiment, the periodic traversal of all signals, based on the number of log information changes of the current signal or the duration of the log output interval, printing and outputting the log information to be output of the current signal cached in the two-dimensional character array, specifically includes:

[0015] Periodically traverse all signals to obtain the number of log information changes of the current signal and the log output interval duration of the current signal recorded by the timer. The log output interval duration is the duration from the current signal to the last print output;

[0016] When it is determined that the log output interval duration of the current signal is not less than the set duration and the log information to be output of the current signal exists in the two-dimensional character array, or the number of times the log information of the current signal changes is not less than the set number, the log information to be output of the current signal cached in the two-dimensional character array is printed and output.

[0017] In combination with the first aspect, in one embodiment, after printing out the log information to be output of the current signal buffered in the two-dimensional character array, the method further includes:

[0018] Clears the log information to be output of the current signal and the number of log information changes of the current signal cached in the two-dimensional character array, and resets the timer corresponding to the current signal.

[0019] In combination with the first aspect, in one embodiment, before periodically traversing all signals, the method further includes:

[0020] Real-time judgment of whether the storage space of each signal in the two-dimensional character array is full:

[0021] If so, print out the log information to be output of the storage space full signal cached in the two-dimensional character array, clear the log information to be output of the storage space full signal in the two-dimensional character array and the number of log information changes of the storage space full signal, and reset the timer corresponding to the storage space full signal;

[0022] If not, no action will be taken.

[0023] In conjunction with the first aspect, in one embodiment,

[0024] According to the cache quantity of log information to be output of each signal in the two-dimensional character array, it is determined whether the storage space of the current signal in the two-dimensional character array is full.

[0025] In a second aspect, an embodiment of the present application provides a device for reducing the frequency of log output, the device comprising:

[0026] Create a module for creating a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval;

[0027] A judgment module is used to record the number of changes in the signal's log information based on whether there is a difference between two adjacent log information outputs;

[0028] The execution module is used to periodically traverse all signals and print out the log information to be output of the current signal cached in the two-dimensional character array based on the number of log information changes of the current signal or the duration of the log output interval.

[0029] In a third aspect, an embodiment of the present application provides a log output frequency reduction device, which includes a processor, a memory, and a log output frequency reduction program stored on the memory and executable by the processor, wherein when the log output frequency reduction program is executed by the processor, the steps of the above-mentioned log output frequency reduction method are implemented.

[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a log output frequency reduction program is stored, wherein when the log output frequency reduction program is executed by a processor, the steps of the log output frequency reduction method described above are implemented.

[0031] The beneficial effects of the technical solutions provided in the embodiments of the present application include:

[0032] By creating a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval, the signal's log information to be output cached in the two-dimensional character array is printed and output according to the number of times the signal's log information changes or the duration of the log output interval. By setting a cache area, controlled batch printing is achieved to reduce the frequency of log output at a low space cost. The system can detect and record changes in signal information in real time, and decide whether to print immediately or print in batches after storage based on the number of changes and the time threshold. Each log information can be retained, greatly reducing the output frequency without losing the log content. At the same time, reducing the log output frequency through batch printing significantly reduces the load occupied by log output, thereby improving the operating performance of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a flowchart of the method for reducing the frequency of log output in this application;

[0034] Figure 2 This is a functional module diagram of the device for reducing the frequency of log output in this application;

[0035] Figure 3 Schematic diagram of the hardware structure of the device used to reduce the frequency of log output for this application. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0037] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0038] In a first aspect, an embodiment of the present application provides a method for reducing the frequency of log output, which can reduce the frequency of log output without losing valid content.

[0039] In one embodiment, referring to Figure 1 , Figure 1 This is a flowchart of the method for reducing the frequency of log output in this application. Figure 1 As shown, methods for reducing the frequency of log output include:

[0040] S1: Create a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval;

[0041] S2: Record the number of times the signal's log information changes based on whether there is a difference between two adjacent log information outputs;

[0042] S3: Periodically traverse all signals, and based on the number of log information changes of the current signal or the duration of the log output interval, print out the log information to be output of the current signal cached in the two-dimensional character array.

[0043] Specifically, first create a two-dimensional character array, use this two-dimensional character array to store the log information to be output for all signals, and create a timer group, assigning a timer to each signal. The two-dimensional character array is also used to store the signal serial number and the number of times the log information changes, and each signal corresponds to a serial number, and each signal corresponds to a timer. The signal serial number is used to distinguish between signals, such as signal A, signal B, signal C, etc. Different signals are distinguished by serial numbers, and each signal corresponds to a serial number. When batch processing signals, a signal table will be defined, and the signal serial number, signal value, signal name, etc. will be recorded in the signal table. The signal value is the actual log content in the log information corresponding to the signal.

[0044] The specific form of the two-dimensional character array is Datebuffer[signal number][cache depth]. The value of the two-dimensional character array stores the log information, where Datebuffer represents the array name, and [signal number] and [cache depth] are two keyword indexes of the two-dimensional character array.

[0045] The specific format of the timer group is Timer[signal number], where Timer represents the array name and [signal number] is the keyword index of the timer group.

[0046] Furthermore, in one embodiment, based on whether there is a difference between two adjacent log information outputs, the number of changes in the log information of the signal is recorded, specifically including:

[0047] Detects in real time whether a signal needs to be logged. If a signal needs to be logged, determines whether there is a difference between the current signal's log information and the last time the signal needed to be logged:

[0048] If so, the current log information to be output of the current signal is cached into a two-dimensional character array, and the number of log information changes of the current signal is accumulated;

[0049] If not, the current log information to be output for the current signal is discarded.

[0050] Specifically, all signals are monitored in real time to determine whether the signal needs to output log information. For example, when it is detected that signal A needs to output log information, it is determined whether there is a difference between the current log information to be output of signal A and the log information to be output when signal A last needed to output log information. If there is no difference, the current log information to be output of signal A is regarded as redundant data and discarded. If there is a difference, the effective payload of the current log information to be output of signal A is extracted, and the current log information to be output of signal A is stored in a two-dimensional character array in sequence using a character splicing method, and the number of log information changes of signal A is increased by one.

[0051] The reason for performing effective payload extraction is that the log information to be output includes two parts: [signal number] and [signal value]. Since multiple log information of a certain signal will be cached in the two-dimensional character array, and when printing subsequently, the printed output content should be in the form of [signal number][signal value 1][signal value 2][signal value 3]..., through effective payload extraction processing, under the premise that the log information of a certain signal has been cached in the two-dimensional character array, it is only necessary to extract the signal value in the log information for caching, so that there is no need to print the [signal number] repeatedly during subsequent printing. It is only necessary to print the [signal number] of the current signal once, and then print out the previous signal values of the current signal in a concatenated manner.

[0052] Furthermore, in another embodiment, when performing a difference comparison operation, even if there is no difference, the current log information to be output may be stored in a cache field, and the number of changes to the corresponding log information may be accumulated.

[0053] Furthermore, in one embodiment, all signals are periodically traversed, and based on the number of log information changes of the current signal or the duration of the log output interval, the log information to be output of the current signal cached in the two-dimensional character array is printed and output, specifically including:

[0054] S301: Periodically traverse all signals to obtain the number of log information changes of the current signal and the log output interval duration of the current signal recorded by the timer. The log output interval duration is the duration between the current signal and the last printout. That is, for a signal that has not been printed out at the current time point, the interval between the last printout time point and the current time point is the log output interval duration of the signal.

[0055] S302: When it is determined that the duration of the log output interval of the current signal is not less than the set duration and the log information to be output of the current signal exists in the two-dimensional character array, or the number of times the log information of the current signal changes is not less than the set number, print out the log information to be output of the current signal cached in the two-dimensional character array.

[0056] After printing out the log information to be output of the current signal cached in the two-dimensional character array, the method further includes: clearing the log information to be output of the current signal cached in the two-dimensional character array and the number of log information changes of the current signal, and resetting the timer corresponding to the current signal.

[0057] Specifically, all signals are periodically traversed to obtain the number of log information changes and the log output interval duration of all signals. For example, for the obtained number of log information changes of signal B, if the number of log information changes is not less than the set number, a printout operation is immediately performed to print out the log information to be output of signal B cached in the two-dimensional character array at one time, and then the log information to be output of signal B in the two-dimensional character array and the number of log information changes of signal B are cleared (i.e., the number of log information changes of signal B is reset to zero), and the timer of signal B is reset to zero; for example, for the obtained log output interval duration of signal C, if the log output interval duration is not less than the set duration (i.e., signal C has not printed out log information for the set duration) and there is log information to be output of signal C in the two-dimensional character array, a printout operation is immediately performed to print out the log information to be output of signal C cached in the two-dimensional character array at one time, and then the log information to be output of signal C in the two-dimensional character array and the number of log information changes of signal C are cleared (i.e., the number of log information changes of signal C is reset to zero), and the timer of signal C is reset to zero.

[0058] In this application, the printout operation is performed based on the number of times the log information changes because when the number of times the log information changes is not less than the set number, it indicates that the current signal changes have been relatively frequent and a printout operation needs to be performed immediately; the printout operation is performed based on the duration of the log output interval because when a certain period has passed and there are logs in the cache field that have not been printed out, a printout operation is performed based on the timeliness of the log.

[0059] Furthermore, before periodically traversing all signals, it also includes:

[0060] Real-time judgment of whether the storage space of each signal in the two-dimensional character array is full:

[0061] If so, print out the log information to be output of the storage space full signal cached in the two-dimensional character array, clear the log information to be output of the storage space full signal in the two-dimensional character array and the number of log information changes of the storage space full signal, and reset the timer corresponding to the storage space full signal;

[0062] If not, no action will be taken.

[0063] Specifically, in one case, when the storage space corresponding to a signal in the two-dimensional character array is full, it is also necessary to print out the log information to be output that is cached in the two-dimensional character array for the signal. Based on the number of cached log information to be output for each signal in the two-dimensional character array, a judgment is made as to whether the storage space of the current signal in the two-dimensional character array is full. For example, a threshold value of the number of cached log information to be output for signal D in the two-dimensional character array is set to d. When the number of cached log information to be output for signal D in the two-dimensional character array is equal to d, it indicates that the storage space corresponding to signal D in the two-dimensional character array is full, and it is necessary to print out the log information to be output that is cached in the two-dimensional character array for signal D.

[0064] The method for reducing the log output frequency of the embodiment of the present application creates a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval, thereby printing and outputting the signal's log information to be output cached in the two-dimensional character array according to the number of times the signal's log information changes or the duration of the log output interval. By setting a cache area, controlled batch printing is achieved to reduce the log output frequency at a low space cost. The method can detect and record changes in signal information in real time, and decide whether to print immediately or print in batches after storage based on the number of changes and time thresholds. Each log information can be retained, and the output frequency is greatly reduced without losing the log content. At the same time, the log output frequency is reduced by batch printing, which significantly reduces the load occupied by the log output and improves the operating performance of the entire system.

[0065] In a second aspect, an embodiment of the present application also provides a device for reducing the frequency of log output.

[0066] In one embodiment, referring to Figure 2 , Figure 2 This is a functional module diagram of the device for reducing the frequency of log output in this application. Figure 2 As shown, the log output frequency reduction device includes: a creation module, a judgment module, and an execution module.

[0067] The creation module is used to create a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval; the judgment module is used to record the number of times the signal's log information changes based on whether there is a difference between two adjacent log information to be output; the execution module is used to periodically traverse all signals, and based on the number of times the current signal's log information changes or the duration of the log output interval, print out the current signal's log information to be output cached in the two-dimensional character array.

[0068] In a third aspect, an embodiment of the present application provides a device for reducing the frequency of log output. The device for reducing the frequency of log output may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0069] Reference Figure 3 , Figure 3 Schematic diagram of the hardware structure of the log output frequency reduction device involved in the embodiment of the present application. In the embodiment of the present application, the log output frequency reduction device may include a processor, a memory, a communication interface and a communication bus.

[0070] The communication bus may be of any type and is used to interconnect the processor, memory, and communication interface.

[0071] Communication interfaces include input / output (I / O) interfaces, physical interfaces, and logical interfaces, which interconnect components within the log output frequency reduction device and connect the device to other devices (such as other computing devices or user devices). Physical interfaces can include Ethernet, fiber, or ATM interfaces; user devices can include displays and keyboards.

[0072] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0073] The processor can be a general-purpose processor, and the general-purpose processor can call the log output frequency stored in the memory to reduce the program, and execute the log output frequency reduction method provided by the embodiment of the application. For example, the general-purpose processor can be a central processing unit (central processing unit, CPU). Wherein, the method performed when the log output frequency reduction program is called can refer to the various embodiments of the application's log output frequency reduction method, and will not be repeated here.

[0074] Those skilled in the art will understand that Figure 3The hardware structure shown in the figure does not constitute a limitation to the present application and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0075] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0076] The computer-readable storage medium of the present application stores a log output frequency reduction program, wherein when the log output frequency reduction program is executed by a processor, the steps of the log output frequency reduction method as described above are implemented.

[0077] Among them, the method implemented when the log output frequency reduction program is executed can refer to the various embodiments of the log output frequency reduction method of this application, and will not be repeated here.

[0078] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit the "first", "second" and "third" to different types.

[0079] In the description of the embodiments of this application, the words "exemplary," "for example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "for example," or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.

[0080] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0081] In some processes described in the embodiments of the present application, multiple operations or steps are included that appear in a specific order. However, it should be understood that these operations or steps may not be performed in the order in which they appear in the embodiments of the present application or may be performed in parallel. The sequence numbers of the operations are only used to distinguish between different operations, and the sequence numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations or steps may be performed in sequence or in parallel, and these operations or steps may be combined.

[0082] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device to execute the methods described in each embodiment of the present application.

[0083] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for reducing the frequency of log output, characterized in that: The method for reducing the log output frequency includes: Create a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval; According to whether there is a difference between two adjacent log information outputs, the number of times the signal log information changes is recorded; Periodically traverse all signals and print out the log information to be output of the current signal cached in the two-dimensional character array based on the number of log information changes of the current signal or the duration of the log output interval.

2. The method for reducing log output frequency according to claim 1, wherein: The two-dimensional character array is also used to store the sequence number of the signal and the number of times the log information changes, and each signal corresponds to a sequence number, and each signal corresponds to a timer.

3. A method for reducing log output frequency according to claim 2, characterized in that: The number of times the signal's log information changes is recorded based on whether there is a difference between two adjacent log information outputs specifically includes: Detects in real time whether a signal needs to be logged. If a signal needs to be logged, determines whether there is a difference between the current signal's log information and the last time the signal needed to be logged: If so, the current log information to be output of the current signal is cached into a two-dimensional character array, and the number of log information changes of the current signal is accumulated; If not, the current log information to be output for the current signal is discarded.

4. A method for reducing log output frequency according to claim 2, characterized in that: The method of periodically traversing all signals and printing out the log information to be output of the current signal cached in the two-dimensional character array based on the number of log information changes of the current signal or the duration of the log output interval specifically includes: Periodically traverse all signals to obtain the number of log information changes of the current signal and the log output interval duration of the current signal recorded by the timer. The log output interval duration is the duration from the current signal to the last print output; When it is determined that the log output interval duration of the current signal is not less than the set duration and the log information to be output of the current signal exists in the two-dimensional character array, or the number of times the log information of the current signal changes is not less than the set number, the log information to be output of the current signal cached in the two-dimensional character array is printed and output.

5. A method for reducing log output frequency according to claim 4, characterized in that: After printing out the log information to be output of the current signal cached in the two-dimensional character array, it also includes: Clears the log information to be output of the current signal and the number of log information changes of the current signal cached in the two-dimensional character array, and resets the timer corresponding to the current signal.

6. A method for reducing log output frequency according to claim 2, characterized in that: Before periodically looping through all signals, it also includes: Real-time judgment of whether the storage space of each signal in the two-dimensional character array is full: If so, print out the log information to be output of the storage space full signal cached in the two-dimensional character array, clear the log information to be output of the storage space full signal in the two-dimensional character array and the number of log information changes of the storage space full signal, and reset the timer corresponding to the storage space full signal; If not, no action will be taken.

7. The method for reducing log output frequency according to claim 6, wherein: According to the cache quantity of log information to be output of each signal in the two-dimensional character array, it is determined whether the storage space of the current signal in the two-dimensional character array is full.

8. A device for reducing the frequency of log output, characterized in that: The log output frequency reducing device comprises: A creation module is used to create a two-dimensional character array for caching the signal's log information to be output, and a timer for timing the signal's log output interval; A judgment module is used to record the number of changes in the signal's log information based on whether there is a difference between two adjacent log information outputs; The execution module is used to periodically traverse all signals and print out the log information to be output of the current signal cached in the two-dimensional character array based on the number of log information changes of the current signal or the duration of the log output interval.

9. A device for reducing the frequency of log output, characterized in that: The log output frequency reduction device includes a processor, a memory, and a log output frequency reduction program stored on the memory and executable by the processor, wherein when the log output frequency reduction program is executed by the processor, the steps of the log output frequency reduction method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a log output frequency reduction program, wherein when the log output frequency reduction program is executed by a processor, the steps of the log output frequency reduction method according to any one of claims 1 to 7 are implemented.