# US 2017/0255540 A1 · High-performance mechanism for generating logging information in respect of a computer process

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

- Number: US 2017/0255540 A1
- Document ID: US20170255540A1
- Status: Published application
- Kind: A1
- Application number: 15/510,638
- Filed: 2015-08-25
- Published: 2017-09-07
- Earliest claimed: 2014-09-10
- Assignees: Bull SAS
- Applicants: Bull SAS
- Inventors: Pierre VIGNERAS
- Web page: https://patentgrep.com/patent/US20170255540A1

## CPC

- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3003: {Monitoring arrangements specially adapted to the computing system or computing system component being monitored}
- G06F 11/3068: {where the reporting involves data format conversion}
- G06F 11/3404: {for parallel or distributed programming}
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Some embodiments are directed to a logging within a software application executed over an assembly of information processing devices. More particularly, some embodiments relate to a method allowing process logging in the case of a software application operating with several processes and/or threads.

## Claims

### Claim 1

A logging method comprising:
executing a process (P1) that includes at least one application thread (F1, F2) and at least one logging thread (Fj) over an assembly of information processing devices;
detecting within the at least one application thread a logging event, and immediately transmitting first logging information to said at least one logging thread (FJ);
receiving said first logging information and generating second logging information starting from said first logging information; and
publishing said second logging information via a publication interface (IP) to at least one processing element (Fs, PJ) previously registered with the at least one logging thread.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the at least one processing element includes an output thread (Fs) belonging to the process (P1).

### Claim 3 (depends on 1)

The method as claimed in claim 1, wherein the at least one processing element includes a thread of a logging process (PJ) distinct from the process (P1).

### Claim 4 (depends on 1)

The method as claimed in claim 1, wherein the application thread (F1) transmits the first information to the at least one logging thread in an asynchronous manner via a communications interface (IC).

### Claim 5 (depends on 1)

The method as claimed in claim 1, wherein the communications interface and the publication interface are of the socket type and conform to the ZeroMQ library.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein, at the start of said process (P1), the at least one application thread (F1, F2) waits for the initialization of the at least one logging thread (Fj) before continuing with its execution, and in which said logging threads is initialized by synchronizing itself with a sub-set of the at least one processing element (Fs, PJ).

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein the first logging information comprises a name and a level.

### Claim 8 (depends on 1)

The method as claimed in claim 1, wherein, when the process (P1) is duplicated, the at least one logging thread (FJ) is terminated, then restarted within the initial parent process (P1).

### Claim 9 (depends on 1)

The method as claimed in claim 1, wherein, when the at least one logging thread receives a signal, it publishes second logging information associated with the signal, then triggers the processing code associated with the signal.

### Claim 10 (depends on 1)

The method as claimed in claim 1, wherein, when the application thread receives a signal, it transmits first logging information associated with the signal to the at least one logging thread, waits for a given time, then causes the termination of the process.
