This project implements a Log Control System with a Query Interface using Flask, Python's lightweight web framework. The system allows for logging events at different stages and provides a user interface for searching through the logs based on various criteria such as log level, log message, timestamp, and source.
- Log Ingestor: Captures logs from multiple APIs and stores them in separate log files.
- Logging Configuration: Supports configuration of logging levels and file paths for each API.
- Error Handling: Implements robust error handling to prevent disruptions in logging functionality.
- Query Interface: Offers a user-friendly web interface for searching through logs.
- Search Filters: Provides filters based on log level, log string, timestamp, and source.
- Efficient Search: Aims for quick and efficient search results.
-
Clone the repository:
git clone https://github.com/thelastcig/log-control-system.git cd Quality Log Control -
Install dependencies:
pip install -r requirements.txt -
Run the application:
python log control.py -
Access the application:
Open your web browser and go to
http://localhost:5000to access the Query Interface.
- Home Page: Upon accessing the application, you'll see a search form where you can enter search queries and filters.
- Search Results: After submitting the form, the search results will be displayed below the form.
Contributions are welcome! Please feel free to fork the repository, make changes, and submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.