Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.52 KB

File metadata and controls

45 lines (37 loc) · 1.52 KB

log-analyzer

Steps to run

Env setup

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt 
mkdir -p output
export PYTHON_PATH=$(pwd)

Run parser to parse build log files

python log_parser.py

Alternate: Run parser with params to parse build log files

python log_parser.py input/log_file.txt

Start API server

export FLASK_APP=app/routes.py
python -m flask run --port=50100

Retrieve build details from API server

JSON format

http://localhost:50100/builds/<file_name>

HTML format

http://localhost:50100/builds/<file_name>?format=html

Functionality

Screenshots from API response

Timeline View

Table View