Patent ID: 9665625
Date: 2017-05-30
CPC Classifications: G06F

Claim:
1. A method for maximizing information content of logs, the method comprising the steps of: one or more processors receiving a first log message from an executing software program, wherein the executing software program is running on a distributed computing system, wherein the first log message includes a first timestamp, a first source code location ID, a first session ID, and a first log message text, and wherein the first session ID indicates that the first log message is associated with a first end-to-end session of a plurality of end-to-end sessions running on the distributed computing system; one or more processors storing the first timestamp, the first source code location ID, and the first session ID of the first log message in a first lossless buffer; one or more processors determining a hash function value of the first session ID; one or more processors determining that the hash function value of the first session ID is less than a hash value threshold, wherein the hash value threshold is set such that less than all end-to-end sessions of the plurality of end-to-end sessions running on the distributed computing system will have their log messages retained; in response to determining that the hash function value of the first session ID is less than the hash value threshold, one or more processors storing the first log message text in a session buffer, wherein the session buffer contains log message texts of all log messages with corresponding hash function values less than the hash value threshold; one or more processors creating a second lossless buffer; one or more processors redirecting logging output of the executing software program to the second lossless buffer from the first lossless buffer; one or more processors compressing content of the first lossless buffer; one or more processors transmitting the compressed content to a repository; and one or more processors causing the compressed content of the first lossless buffer to be stored in the repository, wherein the repository is a data storage node in which all log messages, compressed or uncompressed, are stored.