Method and system for data-triggered dynamic log level control
AssigneeYahoo! Inc.
InventorYiping Han
Life of this patent
Estimating the term…
Abstract
Embodiments of the present teachings disclose method, system, and programs for data driven dynamic logging. Data is received by a logging system where the data is flagged for dynamic logging when one or more dynamic flagging level criteria are satisfied. Data is evaluated by a logging module wrapper, which determines whether to log the data using the default logging level or dynamic logging level, according to whether the data is flagged. A logging module logs information in a logging database according to the default logging level or dynamic logging level. Based on the logged information and detected abnormalities the dynamic flagging level and dynamic logging level are automatically or manually adjusted.
Claims22
A method implemented on a machine having one or more processor, storage, and communication platform for creating a log, comprising:
- obtaining a first indicator indicative of a dynamic level at which a data traffic is to be logged;
- and
- logging the data traffic in accordance with the first indicator,
- wherein
- the first indicator is dynamically adjusted based on the health of the data traffic.
2-3. (canceled)
A method implemented on a machine having one or more processor, storage, and communication platform for adjusting a log level, comprising:
- obtaining a first indicator indicative of a dynamic level at which a data traffic is to be logged;
- accessing log data collected from the data traffic that has been logged in accordance with the first indicator;
- estimating the health of the data traffic based on the accessed log data;
- and
- adjusting the first indicator to generated an adjusted first indicator in accordance with the health of the data traffic, wherein the adjusted first indicator is with respect to the data traffic.
5-6. (canceled)
A system having at least one processor, a storage, and a communication platform for creating a log, the system comprising:
- a logging module implemented on the at least one processor and configured to
- obtain a first indicator indicative of a dynamic level at which a data traffic is to be logged, and
- log the data traffic in accordance with the first indicator, wherein
- the first indicator is dynamically adjusted based on the health of the data traffic.
A system having at least one processor, a storage, and a communication platform for adjusting a log level, the system comprising:
- a logging module implemented on the at least one processor and configured to obtain a first indicator indicative of a dynamic level at which a data traffic is to be logged;
- and
- a log analysis module implemented on the at least one processor and configured to
- access log data collected from the data traffic that has been logged in accordance with the first indicator,
- estimate the health of the data traffic based on the log data, and
- adjust the first indicator to generated an adjusted first indicator in accordance with the health of the data traffic, wherein the adjusted first indicator is with respect to the data traffic.
A non-transitory machine-readable medium having information recorded thereon for creating a log, wherein the information, when read by the machine, causes the machine to perform the following:
- obtaining a first indicator indicative of a dynamic level at which a data traffic is to be logged;
- and
- logging the data traffic in accordance with the first indicator, wherein
- the first indicator is dynamically adjusted based on the health of the data traffic.
A non-transitory machine-readable medium having information recorded thereon for adjusting a log level, wherein the information, when read by the machine, causes the machine to perform the following:
- obtaining a first indicator indicative of a dynamic level at which a data traffic is to be logged;
- accessing log data collected from the data traffic that has been logged in accordance with the first indicator;
- estimating the health of the data traffic based on the accessed log data;
- and
- adjusting the first indicator to generated an adjusted first indicator in accordance with the health of the data traffic, wherein the adjusted first indicator is with respect to the data traffic.
Dependencies are inferred from the claim text.