Test-Scoped Logging Intermediary for Log Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The cumbersome process of finding relevant log sections in log files during testing is time-consuming and inefficient, often leading to incorrect sections being provided to development teams, which wastes productivity and can result in incomplete log message recording and divergence from regular product code.

Innovation Solution

A method that activates and deactivates a logging process based on test initiation and completion indications, associating log messages with specific tests by renaming, copying, or transferring them, ensuring only relevant log messages are recorded and stored, potentially using a plugin like a browser plugin to manage this process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the logging process records all log messages continuously, then complete log information is captured, but the time to analyze and find relevant sections increases significantly

Engineering Contradiction:
Improvecompleteness of log recordingVSAvoidtime to find relevant log sections
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the continuous log file into multiple sections, each associated with a specific test execution. Log messages are organized by test identifiers, allowing administrators to quickly navigate to and analyze only the relevant test sections without reviewing the entire log file. This segmentation resolves the contradiction by maintaining complete log recording while enabling efficient targeted analysis.

Inventive Principle:
Principle #1Segmentation

2Ease of operation

If the logging process is enhanced to dynamically control log message locations, then finding relevant log sections becomes easier, but the application product code is substantially impacted and may fail to record all appropriate log messages

Engineering Contradiction:
Improveease of finding relevant log sectionsVSAvoidcompleteness of log message recording
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent introduces an intermediary logging process that sits between the application product code and the log file. This intermediary automatically associates log messages with test identifiers without requiring modifications to the application code. The intermediary captures all log messages reliably while adding organizational metadata, thus improving ease of operation without compromising the reliability of log message recording.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of operation

If the logging process is enhanced to dynamically control log message locations, then finding relevant log sections becomes easier, but divergence from regular product code occurs

Engineering Contradiction:
Improveease of finding relevant log sectionsVSAvoidcomplexity of product code
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The intermediary logging process acts as a separate layer that does not modify the regular product code. It intercepts and processes log messages independently, associating them with test identifiers through external mechanisms rather than code modifications. This approach improves ease of operation while maintaining the simplicity and integrity of the original product code.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Productivity

If multiple tests are run on the same computing device, then more comprehensive testing is achieved, but the difficulty of finding the appropriate log section increases

Engineering Contradiction:
Improvecomprehensiveness of testingVSAvoiddifficulty of finding appropriate log section
Core Design Contradiction:
ProductivityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent applies local quality by organizing log messages with test-specific identifiers and characteristics. Each test's log messages are marked with unique identifiers that allow administrators to quickly locate and analyze only the relevant test sections. This organization maintains comprehensive testing capabilities while significantly reducing the difficulty of finding appropriate log sections through targeted identification.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8904238B2System and method for capturing logging information
Publication Date: 2014.12.02 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8904238B2 patent drawing
  • US8904238B2 patent drawing
  • US8904238B2 patent drawing

AI summary

A method, computer program product, and computer system for receiving, by a processor, an initiation indication that a test is initiating on a computing device. A logging process is activated to record to a log one or more log messages generated as a result of the test in response to receiving the initiation indication that the test is initiating. A completion indication is received that the test is complete. The logging process is deactivated to stop recording to the log in response to receiving the completion indication that the test is complete. The one or more log messages are associated with the test in response to receiving the completion indication that the test is complete.