# US 2019/0377629 A1 · Dynamically controlling runtime system logging based on end-user reviews

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0377629 A1
- Document ID: US20190377629A1
- Status: Published application
- Kind: A1
- Application number: 16/514,147
- Filed: 2019-07-17
- Published: 2019-12-12
- Earliest claimed: 2018-06-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Leigh Williamson; Shinoj Zacharias; Roger Snook; Vijay Ekambaram
- Web page: https://patentgrep.com/patent/US20190377629A1

## CPC

- G06F 11/0781: {Error filtering or prioritizing based on a policy defined by the user or on a policy defined by a hardware/software module, e.g. according to a severity level}
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 11/3636: {by tracing the execution of the program}
- G06F 11/366: {using diagnostics (G06F11/0703 takes precedence)}
- G06F 11/3672: {Test management}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Runtime system statistics logging is dynamically controlled at code and application levels, based on user reviews. Logging of specific code components in specific application instances, identified based on user reviews, is automatically turned on, based on the user reviews indicating defects. Logging for other components or application instances, however, remains off or is automatically turned off.

## Claims

### Claim 1

A computer-implemented method of dynamically controlling logging within a computing environment, the computer-implemented method comprising:
collecting one or more user reviews regarding an application executing on a device;
analyzing the one or more user reviews to determine whether there are one or more negative reviews regarding the application;
determining, based on the analyzing indicating that there are one or more negative reviews, one or more code components of the application having one or more defects;
automatically initiating, during runtime, logging for the one or more code components of the application determined to have the one or more defects to provide one or more logs, wherein the automatically initiating logging is selective for the one or more code components of the application in that logging is not initiated for one or more other components of the application; and
using the one or more logs to perform an action.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising automatically re-initiating the determining and the automatically initiating logging, based on collecting a new negative user review.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising tracking user reviews for the one or more code components, wherein the tracking is terminated based on occurrence of a selected event.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the selected event comprises a reduction of the negative reviews to a selected level.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, further comprising automatically repeating, subsequent to the tracking terminating, the determining and the automatically initiating logging, based on collection of a defined number of additional negative reviews that map to the one or more code components.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the automatically initiating logging comprises controlling logging, at runtime, at code level and application level to provide selective logging, wherein logging is not initiated for the one or more code components in other instances of the application not being negatively reviewed.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the collecting comprises obtaining the one or more user reviews from one or more application stores that provide the application.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the automatically initiating logging includes determining a particular instance of the application to be logged, based on the one or more user reviews, and providing an indication to that particular instance of the application to begin logging.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the particular instance of the application includes a filter component, and wherein the providing the indication includes communicating with the filter component to indicate logging is to begin for the one or more code components of the particular instance of the application.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the action includes initiating correction of the application.
