Skip to content

Discover logging statements in software projects. Generate enriched log templates from logging statements.

License

Notifications You must be signed in to change notification settings

spetrescu/logmapping

Repository files navigation

logmapping

Mapping log statements to runtime logs

Installation

$ pip install logmapping

Usage

Map runtime logs to their underlying logging statements.
This tool is able to (1) create a representation of the logging statements that allows for comparisons with runtime logs, (2) generate the ground truth templates for runtime logs based on the discovered mapping. In the figure below we visualize the functionality of the tool, namely (1) mining logging statements, (2) mining variables present in logging statements, and (3) creating the mapping from runtime logs the underlying logging statements.
logmapping_workflow

Design

log_mapping_design

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

logmapping was created by Stefan Petrescu. It is licensed under the terms of the MIT license.

Credits

logmapping was created with cookiecutter and the py-pkgs-cookiecutter template.

About

Discover logging statements in software projects. Generate enriched log templates from logging statements.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages